	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_subn_parse_conf_file       ## -- Begin function osm_subn_parse_conf_file
	.p2align	4, 0x90
_osm_subn_parse_conf_file:              ## @osm_subn_parse_conf_file
	.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	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r14, (%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.2:
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %rdi
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_17
LBB0_3:
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	%rbx, -1088(%rbp)               ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	leaq	-1072(%rbp), %rdi
	movl	$1023, %esi                     ## imm = 0x3FF
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	leaq	-1072(%rbp), %rbx
	leaq	-1080(%rbp), %r13
	jmp	LBB0_7
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%r12), %r8
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	movq	8(%rax), %rcx
	addq	%r8, %rcx
	addq	%rax, %r8
	movq	-1080(%rbp), %rdx
	xorl	%edi, %edi
	movq	%r14, %rsi
	xorl	%r9d, %r9d
	callq	*8(%r12)
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movl	$1023, %esi                     ## imm = 0x3FF
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_14
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%rbx, %rdi
	movl	$35, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movb	$0, (%rax)
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdx
	callq	_strtok_r
	testq	%rax, %rax
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r14
	movq	-1080(%rbp), %rdi
	callq	_clean_val
	movq	%rax, -1080(%rbp)
	movq	_opt_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	40(%r12), %rdi
	addq	$24, %r12
	testq	%rdi, %rdi
	jne	LBB0_11
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	callq	_log_report
	jmp	LBB0_6
LBB0_14:
	movq	%r15, %rdi
	callq	_fclose
	movq	-1088(%rbp), %rdi               ## 8-byte Reload
	callq	_osm_subn_verify_config
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_15:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	(%rcx), %rdi
	je	LBB0_19
## %bb.16:
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_18
LBB0_17:
	movq	%r15, %rdi
	callq	_fclose
LBB0_18:
	movl	$-1, %eax
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_21
## %bb.20:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"cannot open file '%s': %s\n"

L_.str.2:                               ## @.str.2
	.asciz	" Reading Cached Option File: %s\n"

L_.str.3:                               ## @.str.3
	.asciz	" \t\n"

	.comm	_opt_tbl,8,3                    ## @opt_tbl
L_.str.4:                               ## @.str.4
	.asciz	" Unrecognized token: \"%s\"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_subn_parse_conf_file       ; -- Begin function osm_subn_parse_conf_file
	.p2align	2
_osm_subn_parse_conf_file:              ; @osm_subn_parse_conf_file
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #1056
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_15
; %bb.1:
	mov	x20, x0
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_printf
	str	x21, [x19]
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_3
; %bb.2:
	mov	w0, #16
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_18
LBB0_3:
	mov	x1, x19
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	add	x0, sp, #24
	mov	w1, #1023
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_14
; %bb.4:
Lloh7:
	adrp	x21, l_.str.3@PAGE
Lloh8:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh9:
	adrp	x24, _opt_tbl@GOTPAGE
Lloh10:
	ldr	x24, [x24, _opt_tbl@GOTPAGEOFF]
Lloh11:
	adrp	x22, l_.str.4@PAGE
Lloh12:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_log_report
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #24
	mov	w1, #1023
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_14
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	add	x0, sp, #24
	mov	w1, #35
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	wzr, [x0]
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #24
	add	x2, sp, #16
	mov	x1, x21
	bl	_strtok_r
	cbz	x0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x23, x0
	ldr	x0, [sp, #16]
	bl	_clean_val
	str	x0, [sp, #16]
	ldr	x25, [x24]
	ldr	x0, [x25, #16]
	cbz	x0, LBB0_5
LBB0_11:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x0, [x25, #40]
	add	x25, x25, #24
	cbnz	x0, LBB0_11
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	ldrsw	x9, [x25]
	add	x3, x8, x9
	add	x4, x19, x9
	ldr	x8, [x25, #8]
	ldr	x2, [sp, #16]
	mov	x1, x23
	mov	x5, #0
	blr	x8
	b	LBB0_6
LBB0_14:
	mov	x0, x20
	bl	_fclose
	mov	x0, x19
	bl	_osm_subn_verify_config
	mov	w0, #0
	b	LBB0_20
LBB0_15:
Lloh13:
	adrp	x8, _errno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
Lloh16:
	adrp	x8, _ENOENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.16:
	mov	w0, #1
	b	LBB0_20
LBB0_17:
	bl	_strerror
	str	x0, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_printf
	b	LBB0_19
LBB0_18:
	mov	x0, x20
	bl	_fclose
LBB0_19:
	mov	w0, #-1
LBB0_20:
	ldur	x8, [x29, #-72]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"cannot open file '%s': %s\n"

l_.str.2:                               ; @.str.2
	.asciz	" Reading Cached Option File: %s\n"

l_.str.3:                               ; @.str.3
	.asciz	" \t\n"

	.comm	_opt_tbl,8,3                    ; @opt_tbl
l_.str.4:                               ; @.str.4
	.asciz	" Unrecognized token: \"%s\"\n"

.subsections_via_symbols
