	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_vmap
_add_vmap:                              ## @add_vmap
	.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	%rdi, %r12
	movq	_arch64@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_ARCH64_DECL
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_LDI_FILENAME
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %r14
	incq	%r14
	movq	%r14, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_savestring
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_savestring
	movq	%rax, %r14
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_LDI_FD
	movq	_gnutarget@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %edx
	callq	_bfd_fdopenr
	jmp	LBB0_3
LBB0_1:
	callq	_bfd_openr
LBB0_3:
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_bfd_object@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_bfd_check_format
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%r13, %rdi
	xorl	%esi, %esi
LBB0_7:
	callq	_map_vmap
	movq	%rax, %r12
	movl	8(%rax), %edi
	xorl	%esi, %esi
	callq	_allocate_objfile
	movq	%rax, (%r12)
	movq	_vmap@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_9
## %bb.8:
	movq	_auto_solib_add@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
LBB0_9:
	movq	%r12, %rdi
	callq	_vmap_add_symbols
	jmp	LBB0_10
LBB0_4:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_warning
	jmp	LBB0_10
LBB0_11:
	movq	_bfd_archive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_bfd_check_format
	testq	%rax, %rax
	je	LBB0_21
## %bb.12:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_bfd_openr_next_archived_file
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %rbx
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_DEPRECATED_STREQ
	testq	%rax, %rax
	je	LBB0_13
## %bb.15:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_bfd_check_format
	testq	%rax, %rax
	je	LBB0_16
## %bb.20:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	jmp	LBB0_7
LBB0_21:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r14, %rsi
	movq	%r15, %rdx
LBB0_18:
	xorl	%eax, %eax
	callq	_warning
LBB0_19:
	movq	%r13, %rdi
	callq	_bfd_close
LBB0_10:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_warning
	movq	%rbx, %rdi
	callq	_bfd_close
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_arch64,4,2                     ## @arch64
	.comm	_gnutarget,4,2                  ## @gnutarget
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not open `%s' as an executable file: %s"

	.comm	_bfd_object,4,2                 ## @bfd_object
	.comm	_bfd_archive,4,2                ## @bfd_archive
L_.str.1:                               ## @.str.1
	.asciz	"\"%s\": member \"%s\" missing."

L_.str.2:                               ## @.str.2
	.asciz	"\"%s\": member \"%s\" not in executable format: %s."

L_.str.3:                               ## @.str.3
	.asciz	"\"%s\": not in executable format: %s."

	.comm	_vmap,8,3                       ## @vmap
	.comm	_auto_solib_add,8,3             ## @auto_solib_add
	.no_dead_strip	_add_vmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_vmap
_add_vmap:                              ; @add_vmap
	.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	x21, x0
Lloh0:
	adrp	x22, _arch64@GOTPAGE
Lloh1:
	ldr	x22, [x22, _arch64@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_ARCH64_DECL
	ldr	w1, [x22]
	mov	x0, x21
	bl	_LDI_FILENAME
	mov	x19, x0
	bl	_strlen
	add	x8, x19, w0, sxtw
	add	x20, x8, #1
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	bl	_savestring
	mov	x20, x0
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	bl	_savestring
	mov	x19, x0
	ldr	w1, [x22]
	mov	x0, x21
	bl	_LDI_FD
Lloh2:
	adrp	x8, _gnutarget@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gnutarget@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	x2, x0
	mov	x0, x19
	bl	_bfd_fdopenr
	mov	x21, x0
	cbz	x0, LBB0_7
LBB0_2:
Lloh5:
	adrp	x23, _bfd_object@GOTPAGE
Lloh6:
	ldr	x23, [x23, _bfd_object@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	bl	_bfd_check_format
	cbz	x0, LBB0_8
; %bb.3:
	mov	x0, x21
	mov	x1, #0
LBB0_4:
	bl	_map_vmap
	mov	x19, x0
	ldr	w0, [x0, #8]
	mov	w1, #0
	bl	_allocate_objfile
	str	x0, [x19]
Lloh7:
	adrp	x8, _vmap@GOTPAGE
Lloh8:
	ldr	x8, [x8, _vmap@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _auto_solib_add@GOTPAGE
Lloh11:
	ldr	x9, [x9, _auto_solib_add@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x19, x8
	ccmp	x9, #0, #0, ne
	b.eq	LBB0_19
; %bb.5:
	mov	x0, x19
	bl	_vmap_add_symbols
	b	LBB0_19
LBB0_6:
	mov	x0, x19
	bl	_bfd_openr
	mov	x21, x0
	cbnz	x0, LBB0_2
LBB0_7:
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_warning
	b	LBB0_18
LBB0_8:
Lloh15:
	adrp	x8, _bfd_archive@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bfd_archive@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_bfd_check_format
	cbz	x0, LBB0_14
; %bb.9:
	mov	x22, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_bfd_openr_next_archived_file
	cbz	x0, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x0
	ldr	w1, [x0]
	mov	x0, x20
	bl	_DEPRECATED_STREQ
	cbz	x0, LBB0_10
; %bb.12:
	ldr	w1, [x23]
	mov	x0, x22
	bl	_bfd_check_format
	cbz	x0, LBB0_20
; %bb.13:
	mov	x0, x22
	mov	x1, x21
	b	LBB0_4
LBB0_14:
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	b	LBB0_16
LBB0_15:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
LBB0_16:
	bl	_warning
LBB0_17:
	mov	x0, x21
	bl	_bfd_close
LBB0_18:
	mov	x19, #0
LBB0_19:
	mov	x0, x19
	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
LBB0_20:
	bl	_bfd_get_error
	bl	_bfd_errmsg
	str	x0, [sp]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_warning
	mov	x0, x22
	bl	_bfd_close
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_arch64,4,2                     ; @arch64
	.comm	_gnutarget,4,2                  ; @gnutarget
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not open `%s' as an executable file: %s"

	.comm	_bfd_object,4,2                 ; @bfd_object
	.comm	_bfd_archive,4,2                ; @bfd_archive
l_.str.1:                               ; @.str.1
	.asciz	"\"%s\": member \"%s\" missing."

l_.str.2:                               ; @.str.2
	.asciz	"\"%s\": member \"%s\" not in executable format: %s."

l_.str.3:                               ; @.str.3
	.asciz	"\"%s\": not in executable format: %s."

	.comm	_vmap,8,3                       ; @vmap
	.comm	_auto_solib_add,8,3             ; @auto_solib_add
	.no_dead_strip	_add_vmap
.subsections_via_symbols
