	.file	"163476.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"up"
	.align 8
.LC1:
	.string	"amixer set 'Master' 5%+ > /dev/null"
.LC2:
	.string	"down"
	.align 8
.LC3:
	.string	"amixer set 'Master' 5%- > /dev/null"
.LC4:
	.string	"Invalid argument"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	lea	rdi, .LC1[rip]
	call	system@PLT
	mov	eax, 0
	call	send_notification
	mov	eax, 0
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	lea	rdi, .LC3[rip]
	call	system@PLT
	mov	eax, 0
	call	send_notification
	mov	eax, 0
	jmp	.L3
.L4:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC5:
	.string	"r"
	.align 8
.LC6:
	.string	"amixer -D pulse get Master | grep '%' | head -n 1 | cut -d '[' -f 2 | cut -d '%' -f 1"
.LC7:
	.string	"%d"
	.text
	.globl	get_volume
	.type	get_volume, @function
get_volume:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	popen@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rdx, -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	pclose@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_volume, .-get_volume
	.section	.rodata
.LC8:
	.string	"%s"
	.align 8
.LC9:
	.string	"dunstify -u low -r 2593 \"\360\237\224\210 %d %s\""
	.text
	.globl	send_notification
	.type	send_notification, @function
send_notification:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	get_volume
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -112[rbp], eax
	cmp	DWORD PTR -112[rbp], 19
	jle	.L9
	mov	DWORD PTR -112[rbp], 20
.L9:
	cmp	DWORD PTR -112[rbp], 0
	jg	.L10
	mov	DWORD PTR -112[rbp], 0
.L10:
	movabs	rax, 2459092034199315827
	movabs	rdx, 2334031326832792802
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movabs	rax, 8297636454024290428
	movabs	rdx, 3400038743840676655
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	WORD PTR -16[rbp], 10087
	mov	BYTE PTR -14[rbp], 0
	mov	edi, 36
	call	malloc@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	edx, DWORD PTR -112[rbp]
	lea	rcx, -48[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	popen@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	BYTE PTR -60[rbp], 0
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	pclose@PLT
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	lea	rcx, -80[rbp]
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	system@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	send_notification, .-send_notification
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"163476.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"up\000"
	.align	2
.LC1:
	.ascii	"amixer set 'Master' 5%+ > /dev/null\000"
	.align	2
.LC2:
	.ascii	"down\000"
	.align	2
.LC3:
	.ascii	"amixer set 'Master' 5%- > /dev/null\000"
	.align	2
.LC4:
	.ascii	"Invalid argument\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r1, .L5
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L5+4
	bl	system
	bl	send_notification
	mov	r3, #0
	b	.L3
.L2:
	ldr	r1, .L5+8
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L5+12
	bl	system
	bl	send_notification
	mov	r3, #0
	b	.L3
.L4:
	ldr	r0, .L5+16
	bl	printf
	mov	r3, #1
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"amixer -D pulse get Master | grep '%' | head -n 1 |"
	.ascii	" cut -d '[' -f 2 | cut -d '%' -f 1\000"
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_volume
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_volume, %function
get_volume:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L10+4
	ldr	r0, .L10+8
	bl	popen
	str	r0, [fp, #-12]
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L10+12
	ldr	r0, [fp, #-12]
	bl	__isoc99_fscanf
	ldr	r0, [fp, #-12]
	bl	pclose
	ldr	r3, [fp, #-16]
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC8
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	get_volume, .-get_volume
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%s\000"
	.align	2
.LC11:
	.ascii	"dunstify -u low -r 2593 \"\360\237\224\210 %d %s\"\000"
	.align	2
.LC9:
	.ascii	"seq -s \"\342\224\200\" %d | sed 's/[0-9]//g'\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	send_notification
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_notification, %function
send_notification:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	get_volume
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-84]
	ldr	r2, .L16+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #1
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #19
	ble	.L13
	mov	r3, #20
	str	r3, [fp, #-88]
.L13:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bgt	.L14
	mov	r3, #0
	str	r3, [fp, #-88]
.L14:
	ldr	r3, .L16+8
	sub	ip, fp, #44
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strh	r3, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r3, #16
	strb	r3, [ip]
	mov	r0, #36
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-80]
	sub	r3, fp, #44
	ldr	r2, [fp, #-88]
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	sprintf
	ldr	r1, .L16+12
	ldr	r0, [fp, #-80]
	bl	popen
	str	r0, [fp, #-76]
	ldr	r0, [fp, #-80]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-68]
	sub	r3, fp, #64
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	strb	r2, [r3, #16]
	sub	r3, fp, #68
	mov	r2, r3
	ldr	r1, .L16+16
	ldr	r0, [fp, #-76]
	bl	__isoc99_fscanf
	ldr	r0, [fp, #-76]
	bl	pclose
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-72]
	sub	r3, fp, #68
	ldr	r2, [fp, #-84]
	ldr	r1, .L16+20
	ldr	r0, [fp, #-72]
	bl	sprintf
	ldr	r0, [fp, #-72]
	bl	system
	ldr	r0, [fp, #-72]
	bl	free
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC12
	.word	1717986919
	.word	.LC9
	.word	.LC5
	.word	.LC10
	.word	.LC11
	.size	send_notification, .-send_notification
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
