	.file	"91668.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"   key_click_percent  = %d\n"
.LC1:
	.string	"   bell_percent       = %d\n"
.LC2:
	.string	"   bell_pitch         = %d\n"
.LC3:
	.string	"   bell_duration      = %d\n"
.LC4:
	.string	"   led                = 0x%x\n"
.LC5:
	.string	"   led_mode           = %d\n"
.LC6:
	.string	"   key                = %d\n"
.LC7:
	.string	"   auto_repeat_mode   = %d\n"
	.text
	.type	pkc, @function
pkc:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 1
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 2
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 4
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 8
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 16
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 32
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 64
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 128
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 28[rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	pkc, .-pkc
	.section	.rodata
.LC8:
	.string	"   bell_pitch         = %u\n"
.LC9:
	.string	"   bell_duration      = %u\n"
	.align 8
.LC10:
	.string	"   led_mask           = 0x%lx\n"
.LC11:
	.string	"   global_auto_repeat = %d\n"
	.text
	.type	pks, @function
pks:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pks, .-pks
	.section	.rodata
	.align 8
.LC12:
	.string	"Usage: xbell percent baseVolume pitch duration"
.LC13:
	.string	"Setting:"
.LC14:
	.string	"Have:"
	.text
	.globl	main
	.type	main, @function
main:
.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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	DWORD PTR -132[rbp], 5
	je	.L13
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L15
.L13:
	mov	QWORD PTR -120[rbp], 14
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -108[rbp], eax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -104[rbp], eax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -100[rbp], eax
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pkc
	lea	rdx, -112[rbp]
	mov	rcx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XChangeKeyboardControl@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XGetKeyboardControl@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	pks
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	XBell@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	XCloseDisplay@PLT
	mov	eax, 0
.L15:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.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	"91668.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"   key_click_percent  = %d\012\000"
	.align	2
.LC1:
	.ascii	"   bell_percent       = %d\012\000"
	.align	2
.LC2:
	.ascii	"   bell_pitch         = %d\012\000"
	.align	2
.LC3:
	.ascii	"   bell_duration      = %d\012\000"
	.align	2
.LC4:
	.ascii	"   led                = 0x%x\012\000"
	.align	2
.LC5:
	.ascii	"   led_mode           = %d\012\000"
	.align	2
.LC6:
	.ascii	"   key                = %d\012\000"
	.align	2
.LC7:
	.ascii	"   auto_repeat_mode   = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pkc, %function
pkc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11
	bl	printf
.L2:
	ldr	r3, [fp, #-12]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L11+4
	bl	printf
.L3:
	ldr	r3, [fp, #-12]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
.L4:
	ldr	r3, [fp, #-12]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L11+12
	bl	printf
.L5:
	ldr	r3, [fp, #-12]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r1, r3
	ldr	r0, .L11+16
	bl	printf
.L6:
	ldr	r3, [fp, #-12]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L11+20
	bl	printf
.L7:
	ldr	r3, [fp, #-12]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	mov	r1, r3
	ldr	r0, .L11+24
	bl	printf
.L8:
	ldr	r3, [fp, #-12]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	mov	r1, r3
	ldr	r0, .L11+28
	bl	printf
.L10:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	pkc, .-pkc
	.section	.rodata
	.align	2
.LC8:
	.ascii	"   bell_pitch         = %u\012\000"
	.align	2
.LC9:
	.ascii	"   bell_duration      = %u\012\000"
	.align	2
.LC10:
	.ascii	"   led_mask           = 0x%lx\012\000"
	.align	2
.LC11:
	.ascii	"   global_auto_repeat = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pks, %function
pks:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L14
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L14+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L14+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L14+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r1, r3
	ldr	r0, .L14+16
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L14+20
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	.LC1
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	pks, .-pks
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Usage: xbell percent baseVolume pitch duration\000"
	.align	2
.LC13:
	.ascii	"Setting:\000"
	.align	2
.LC14:
	.ascii	"Have:\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	XOpenDisplay
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-112]
	cmp	r3, #5
	beq	.L17
	ldr	r0, .L21+4
	bl	puts
	mov	r3, #1
	b	.L19
.L17:
	mov	r3, #14
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-116]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-116]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r0, .L21+8
	bl	puts
	sub	r3, fp, #96
	ldr	r1, [fp, #-100]
	mov	r0, r3
	bl	pkc
	sub	r3, fp, #96
	mov	r2, r3
	ldr	r1, [fp, #-100]
	ldr	r0, [fp, #-104]
	bl	XChangeKeyboardControl
	ldr	r0, .L21+12
	bl	puts
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	XGetKeyboardControl
	sub	r3, fp, #64
	mov	r0, r3
	bl	pks
	mov	r1, #100
	ldr	r0, [fp, #-104]
	bl	XBell
	ldr	r0, [fp, #-104]
	bl	XCloseDisplay
	mov	r3, #0
.L19:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC15
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
