	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_read_keys               ## -- Begin function config_read_keys
	.p2align	4, 0x90
_config_read_keys:                      ## @config_read_keys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$408, %rsp                      ## imm = 0x198
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%rax, %r15
	leaq	-304(%rbp), %rbx
	leaq	-432(%rbp), %r13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	addq	$10, %r15
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r15, %rdx
	callq	_get_line
	movq	%rbx, %rdi
	callq	_in_config_parse_dev
	testl	%eax, %eax
	js	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r14d
	movl	%eax, %edi
	movl	$-1, %esi
	movl	$-1, %edx
	callq	_in_unbind_all
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strstr
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$10, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	leaq	4(%r15), %r12
	cmpb	$32, 4(%r15)
	jne	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%rbx, %r15
	movq	%r13, %rdi
	movl	$128, %esi
	movq	%r12, %rdx
	callq	_get_line
	movq	%r13, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%rax, %rbx
	movb	$0, (%rax)
	incq	%rbx
	movq	%r13, %rdi
	callq	_mystrip
	movq	%rbx, %rdi
	callq	_mystrip
	movq	%rbx, %rdi
	leaq	-436(%rbp), %rsi
	callq	_parse_bind_val
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ecx
	cmpl	$-3, %ecx
	ja	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	-436(%rbp), %ecx
	movl	%r14d, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_in_config_bind_key
	movq	%r15, %rbx
	jmp	LBB0_11
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=2
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r15, %rbx
	jmp	LBB0_11
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=2
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	callq	_lprintf
	movq	%r15, %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_3
LBB0_12:
	xorl	%eax, %eax
	callq	_in_clean_binds
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.19:
	addq	$408, %rsp                      ## imm = 0x198
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"binddev = "

L_.str.1:                               ## @.str.1
	.asciz	"input: can't handle dev: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"bind"

L_.str.3:                               ## @.str.3
	.asciz	"input: parse error: %16s..\n"

L_.str.4:                               ## @.str.4
	.asciz	"parse failed: %16s..\n"

L_.str.5:                               ## @.str.5
	.asciz	"config: unhandled action \"%s\"\n"

	.comm	_in_adev,8,3                    ## @in_adev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_read_keys               ; -- Begin function config_read_keys
	.p2align	2
_config_read_keys:                      ; @config_read_keys
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #416
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	cbz	x0, LBB0_18
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_18
; %bb.2:
	add	x28, sp, #144
Lloh5:
	adrp	x19, l_.str.1@PAGE
Lloh6:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh7:
	adrp	x20, l_.str@PAGE
Lloh8:
	add	x20, x20, l_.str@PAGEOFF
Lloh9:
	adrp	x21, l_.str.2@PAGE
Lloh10:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh11:
	adrp	x22, l_.str.4@PAGE
Lloh12:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh13:
	adrp	x23, l_.str.5@PAGE
Lloh14:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh15:
	adrp	x24, l_.str.3@PAGE
Lloh16:
	add	x24, x24, l_.str.3@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	add	x25, x0, #10
	add	x0, sp, #144
	mov	w1, #256
	mov	x2, x25
	bl	_get_line
	add	x0, sp, #144
	bl	_in_config_parse_dev
	tbnz	w0, #31, LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x0
	mov	w1, #-1
	mov	w2, #-1
	bl	_in_unbind_all
	mov	x0, x25
	mov	x1, x21
	bl	_strstr
	cbz	x0, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=2
	str	x25, [sp]
	mov	x0, x24
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	bl	_printf
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x25
	mov	x1, x21
	bl	_strstr
	mov	x25, x0
	cbz	x0, LBB0_18
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	mov	x1, x20
	mov	w2, #10
	bl	_strncmp
	cbz	x0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrb	w8, [x25, #4]!
	cmp	w8, #32
	b.ne	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #16
	mov	w1, #128
	mov	x2, x25
	bl	_get_line
	add	x0, sp, #16
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x27, x0
	strb	wzr, [x27], #1
	add	x0, sp, #16
	bl	_mystrip
	mov	x0, x27
	bl	_mystrip
	add	x1, sp, #12
	mov	x0, x27
	bl	_parse_bind_val
	sub	w8, w0, #1
	cmn	w8, #3
	b.hi	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x2, x0
	ldr	w3, [sp, #12]
	add	x1, sp, #16
	mov	x0, x26
	bl	_in_config_bind_key
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	str	x25, [sp]
	mov	x0, x22
	b	LBB0_7
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x23
	mov	x1, x27
	bl	_lprintf
	b	LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x28, [sp]
	mov	x0, x19
	bl	_printf
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	mov	x1, x20
	bl	_strstr
	cbnz	x0, LBB0_3
LBB0_18:
	bl	_in_clean_binds
	ldur	x8, [x29, #-96]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	add	sp, sp, #416
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"binddev = "

l_.str.1:                               ; @.str.1
	.asciz	"input: can't handle dev: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"bind"

l_.str.3:                               ; @.str.3
	.asciz	"input: parse error: %16s..\n"

l_.str.4:                               ; @.str.4
	.asciz	"parse failed: %16s..\n"

l_.str.5:                               ; @.str.5
	.asciz	"config: unhandled action \"%s\"\n"

	.comm	_in_adev,8,3                    ; @in_adev
.subsections_via_symbols
