	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_prtn_config_parse_file     ## -- Begin function osm_prtn_config_parse_file
	.p2align	4, 0x90
_osm_prtn_config_parse_file:            ## @osm_prtn_config_parse_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
	pushq	%rax
	movl	$4136, %eax                     ## imm = 0x1028
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, -4168(%rbp)               ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	$0, -4144(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	leaq	-4144(%rbp), %r13
	movq	%r13, %rdi
	movl	$4095, %esi                     ## imm = 0xFFF
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%r12, -4160(%rbp)               ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	%rbx, -4152(%rbp)               ## 8-byte Spill
	jmp	LBB0_5
LBB0_3:
	movq	_OSM_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_OSM_LOG
	movl	$-1, %eax
	jmp	LBB0_21
LBB0_2:
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_parse_part_conf
	movl	$1, %r12d
	testl	%eax, %eax
	js	LBB0_16
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r13
	movq	%rbx, %rdi
	movl	$4095, %esi                     ## imm = 0xFFF
	movq	-4152(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_20
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%r13, %rdi
	movl	$35, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, (%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r14d
	movq	%r13, %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%r13
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13), %eax
	leal	-9(%rax), %ecx
	cmpb	$2, %cl
	jb	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$32, %al
	je	LBB0_23
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	testb	%al, %al
	je	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	testq	%r15, %r15
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	-4160(%rbp), %rdi               ## 8-byte Reload
	movq	-4168(%rbp), %rsi               ## 8-byte Reload
	callq	_new_part_conf
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	movl	$59, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=2
	movb	$0, (%rax)
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_parse_part_conf
	testl	%eax, %eax
	js	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_flush_part_conf
	movl	%r12d, %eax
	addq	%rax, %r13
	movl	$1, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_13:
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %r15
	movq	-4160(%rbp), %rdi               ## 8-byte Reload
	movq	%r15, %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_OSM_LOG
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_fprintf
LBB0_16:
	movl	$-1, %r12d
	movq	-4152(%rbp), %rbx               ## 8-byte Reload
LBB0_20:
	movq	%rbx, %rdi
	callq	_fclose
	xorl	%eax, %eax
	cmpl	$1, %r12d
	setne	%al
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_24
## %bb.22:
	addq	$4136, %rsp                     ## imm = 0x1028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_OSM_LOG_VERBOSE,4,2            ## @OSM_LOG_VERBOSE
L_.str.1:                               ## @.str.1
	.asciz	"Cannot open config file '%s': %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_OSM_LOG_ERROR,4,2              ## @OSM_LOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"PARSE ERROR: line %d: internal: cannot create config\n"

	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_prtn_config_parse_file     ; -- Begin function osm_prtn_config_parse_file
	.p2align	2
_osm_prtn_config_parse_file:            ; @osm_prtn_config_parse_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
	mov	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	strb	wzr, [sp, #24]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_fopen
	cbz	x0, LBB0_18
; %bb.1:
	mov	x19, x0
	add	x0, sp, #24
	mov	w1, #4095
	mov	x2, x19
	bl	_fgets
	mov	w25, #0
	cbz	x0, LBB0_21
; %bb.2:
	mov	w22, #0
	mov	x23, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	mov	w1, #4095
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_21
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	add	x0, sp, #24
	mov	w1, #35
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x0]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	add	x24, sp, #24
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x24, x24, #1
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x24]
	sub	w9, w8, #9
	cmp	w9, #2
	b.lo	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	w8, #32
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	cbz	w8, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	cbnz	x23, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x20
	mov	x1, x21
	bl	_new_part_conf
	mov	x23, x0
	cbz	x0, LBB0_19
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x24
	mov	w1, #59
	bl	_strchr
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=2
	strb	wzr, [x0]
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	bl	_parse_part_conf
	tbnz	w0, #31, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x25, x0
	mov	x0, x23
	bl	_flush_part_conf
	mov	x23, #0
	add	x24, x24, w25, uxtw
	mov	w25, #1
	b	LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	bl	_parse_part_conf
	tbnz	w0, #31, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #1
	b	LBB0_3
LBB0_18:
Lloh7:
	adrp	x8, _OSM_LOG_VERBOSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _OSM_LOG_VERBOSE@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_OSM_LOG
	mov	w0, #-1
	b	LBB0_22
LBB0_19:
Lloh15:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	str	x22, [sp]
Lloh18:
	adrp	x21, l_.str.2@PAGE
Lloh19:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_OSM_LOG
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x22
	bl	_fprintf
LBB0_20:
	mov	w25, #-1
LBB0_21:
	mov	x0, x19
	bl	_fclose
	cmp	w25, #1
	cset	w0, ne
LBB0_22:
	ldur	x8, [x29, #-72]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #32
	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_24:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_OSM_LOG_VERBOSE,4,2            ; @OSM_LOG_VERBOSE
l_.str.1:                               ; @.str.1
	.asciz	"Cannot open config file '%s': %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_OSM_LOG_ERROR,4,2              ; @OSM_LOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"PARSE ERROR: line %d: internal: cannot create config\n"

	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
