	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_config
_read_config:                           ## @read_config
	.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	%r12
	pushq	%rbx
	subq	$1024, %rsp                     ## imm = 0x400
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_3:
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_4:
	movq	_current_line_number@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movq	%r14, %rdi
	callq	_feof
	movl	$1, %ebx
	testl	%eax, %eax
	je	LBB0_5
LBB0_11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_fclose
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %eax
	addq	$1024, %rsp                     ## imm = 0x400
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	-1056(%rbp), %rdi
	movl	$1010, %esi                     ## imm = 0x3F2
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	leaq	-1056(%rbp), %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	incq	(%r12)
	movq	%r15, %rdi
	callq	_process_line
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	movl	$1010, %esi                     ## imm = 0x3F2
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_11
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

L_.str.1:                               ## @.str.1
	.asciz	"r"

	.comm	_stdin,8,3                      ## @stdin
	.comm	_current_line_number,8,3        ## @current_line_number
	.no_dead_strip	_read_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_config
_read_config:                           ; @read_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #1024
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_4
; %bb.2:
	mov	w20, #0
	b	LBB0_8
LBB0_3:
Lloh7:
	adrp	x8, _stdin@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh9:
	ldr	x19, [x8]
LBB0_4:
Lloh10:
	adrp	x21, _current_line_number@GOTPAGE
Lloh11:
	ldr	x21, [x21, _current_line_number@GOTPAGEOFF]
	str	xzr, [x21]
	mov	x0, x19
	bl	_feof
	cbz	w0, LBB0_10
LBB0_5:
	mov	w20, #1
LBB0_6:
	cbz	x19, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_fclose
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.9:
	mov	x0, x20
	add	sp, sp, #1024
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	add	x0, sp, #6
	mov	w1, #1010
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_5
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	add	x0, sp, #6
	bl	_process_line
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	bl	_feof
	cbnz	w0, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x0, sp, #6
	mov	w1, #1010
	mov	x2, x19
	bl	_fgets
	cbnz	x0, LBB0_11
	b	LBB0_6
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.asciz	"r"

	.comm	_stdin,8,3                      ; @stdin
	.comm	_current_line_number,8,3        ; @current_line_number
	.no_dead_strip	_read_config
.subsections_via_symbols
