	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_map                      ## -- Begin function parse_map
	.p2align	4, 0x90
_parse_map:                             ## @parse_map
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpb	$0, (%rbx)
	setne	%dil
	callq	_assert
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_log_debugx
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movl	$0, (%r12)
LBB0_2:
	movb	(%rbx), %al
	cmpb	$47, %al
	je	LBB0_11
## %bb.3:
	cmpb	$45, %al
	jne	LBB0_7
## %bb.4:
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	movl	$1, (%r12)
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_parse_special_map              ## TAILCALL
LBB0_11:
	movq	%rbx, %rdi
	callq	_checked_strdup
	movq	%rax, %rsi
	movq	%rax, -48(%rbp)
	jmp	LBB0_12
LBB0_7:
	movq	_AUTO_MAP_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rcx
	callq	_asprintf
	testl	%eax, %eax
	jns	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_log_err
LBB0_9:
	movq	-48(%rbp), %rdx
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	-48(%rbp), %rdi
	movq	_F_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_access
	movq	-48(%rbp), %rsi
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_parse_included_map
	jmp	LBB0_27
LBB0_12:
	movq	%rsi, %rdi
	callq	_file_is_executable
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_log_debugx
	testq	%r12, %r12
	je	LBB0_15
## %bb.14:
	movl	$1, (%r12)
LBB0_15:
	movq	-48(%rbp), %rdi
	testq	%r15, %r15
	je	LBB0_17
## %bb.16:
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_auto_popen
	jmp	LBB0_18
LBB0_19:
	movq	-48(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_fopen
	movq	_yyin@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	xorl	%r15d, %r15d
	jmp	LBB0_22
LBB0_17:
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_auto_popen
LBB0_18:
	movq	_yyin@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
LBB0_22:
	movq	-48(%rbp), %rdi
	callq	_free
	movq	$0, -48(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_parse_map_yyin
	movq	_yyin@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testl	%r13d, %r13d
	je	LBB0_25
## %bb.23:
	callq	_auto_pclose
	movq	$0, (%r15)
	testl	%eax, %eax
	je	LBB0_26
## %bb.24:
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_log_errx
	jmp	LBB0_26
LBB0_25:
	callq	_fclose
LBB0_26:
	movq	$0, (%r15)
	leaq	L_.str.9(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_node_expand_includes
	movq	%r14, %rdi
	callq	_node_expand_direct_maps
LBB0_27:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	-48(%rbp), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parsing map \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"%s/%s"

	.comm	_AUTO_MAP_PREFIX,4,2            ## @AUTO_MAP_PREFIX
L_.str.2:                               ## @.str.2
	.asciz	"asprintf"

L_.str.3:                               ## @.str.3
	.asciz	"map \"%s\" maps to \"%s\""

	.comm	_F_OK,4,2                       ## @F_OK
L_.str.4:                               ## @.str.4
	.asciz	"map file \"%s\" does not exist; falling back to directory services"

L_.str.5:                               ## @.str.5
	.asciz	"map \"%s\" is executable"

	.comm	_yyin,8,3                       ## @yyin
L_.str.6:                               ## @.str.6
	.asciz	"r"

L_.str.7:                               ## @.str.7
	.asciz	"unable to open \"%s\""

L_.str.8:                               ## @.str.8
	.asciz	"failed to handle executable map \"%s\""

L_.str.9:                               ## @.str.9
	.asciz	"done parsing map \"%s\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_map                      ; -- Begin function parse_map
	.p2align	2
_parse_map:                             ; @parse_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
	ldrb	w8, [x20]
	cmp	w8, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_log_debugx
	cbz	x22, LBB0_2
; %bb.1:
	str	wzr, [x22]
LBB0_2:
	ldrb	w8, [x20]
	cmp	w8, #47
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #45
	b.ne	LBB0_8
; %bb.4:
	cbz	x22, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x22]
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
	add	sp, sp, #80
	b	_parse_special_map
LBB0_7:
	mov	x0, x20
	bl	_checked_strdup
	mov	x1, x0
	str	x0, [sp, #8]
	b	LBB0_12
LBB0_8:
Lloh2:
	adrp	x8, _AUTO_MAP_PREFIX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AUTO_MAP_PREFIX@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x3, x20
	bl	_asprintf
	tbz	w0, #31, LBB0_10
; %bb.9:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_log_err
LBB0_10:
	ldr	x8, [sp, #8]
	str	x8, [sp]
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_log_debugx
	ldr	x0, [sp, #8]
Lloh11:
	adrp	x8, _F_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F_OK@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_access
	ldr	x1, [sp, #8]
	cbz	w0, LBB0_12
; %bb.11:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_log_debugx
	mov	x0, x19
	mov	x1, x20
	bl	_parse_included_map
	b	LBB0_27
LBB0_12:
	mov	x0, x1
	bl	_file_is_executable
	mov	x23, x0
Lloh16:
	adrp	x24, _yyin@GOTPAGE
Lloh17:
	ldr	x24, [x24, _yyin@GOTPAGEOFF]
	cbz	w0, LBB0_17
; %bb.13:
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_log_debugx
	cbz	x22, LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x22]
LBB0_15:
	ldr	x0, [sp, #8]
	cbz	x21, LBB0_20
; %bb.16:
	str	xzr, [sp]
	mov	x1, x21
	b	LBB0_21
LBB0_17:
	ldr	x0, [sp, #8]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fopen
	str	x0, [x24]
	cbnz	x0, LBB0_19
; %bb.18:
	ldr	x8, [sp, #8]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_log_err
LBB0_19:
	mov	x21, #0
	b	LBB0_22
LBB0_20:
	mov	x1, #0
LBB0_21:
	bl	_auto_popen
	str	x0, [x24]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
LBB0_22:
	ldr	x0, [sp, #8]
	bl	_free
	str	xzr, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_parse_map_yyin
	ldr	x0, [x24]
	cbz	w23, LBB0_25
; %bb.23:
	bl	_auto_pclose
	str	xzr, [x24]
	cbz	w0, LBB0_26
; %bb.24:
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_log_errx
	b	LBB0_26
LBB0_25:
	bl	_fclose
LBB0_26:
	str	xzr, [x24]
Lloh26:
	adrp	x0, l_.str.9@PAGE
Lloh27:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x20
	bl	_log_debugx
	mov	x0, x19
	mov	w1, #0
	bl	_node_expand_includes
	mov	x0, x19
	bl	_node_expand_direct_maps
LBB0_27:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parsing map \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"%s/%s"

	.comm	_AUTO_MAP_PREFIX,4,2            ; @AUTO_MAP_PREFIX
l_.str.2:                               ; @.str.2
	.asciz	"asprintf"

l_.str.3:                               ; @.str.3
	.asciz	"map \"%s\" maps to \"%s\""

	.comm	_F_OK,4,2                       ; @F_OK
l_.str.4:                               ; @.str.4
	.asciz	"map file \"%s\" does not exist; falling back to directory services"

l_.str.5:                               ; @.str.5
	.asciz	"map \"%s\" is executable"

	.comm	_yyin,8,3                       ; @yyin
l_.str.6:                               ; @.str.6
	.asciz	"r"

l_.str.7:                               ; @.str.7
	.asciz	"unable to open \"%s\""

l_.str.8:                               ; @.str.8
	.asciz	"failed to handle executable map \"%s\""

l_.str.9:                               ; @.str.9
	.asciz	"done parsing map \"%s\""

.subsections_via_symbols
