	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_vmap                       ## -- Begin function map_vmap
	.p2align	4, 0x90
_map_vmap:                              ## @map_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$32, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	$0, 16(%rbx)
	movq	%r14, 24(%rbx)
	testq	%r15, %r15
	movq	%r15, %rdi
	cmoveq	%r14, %rdi
	callq	_bfd_get_filename
	movq	%rax, (%rbx)
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_bfd_get_filename
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rax
LBB0_3:
	movq	%rax, 8(%rbx)
	movq	%r15, -32(%rbp)
	movq	%rbx, -40(%rbp)
	movq	_bfdsec_to_vmap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	_bfd_map_over_sections
	movq	_vmap@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	movq	(%rcx), %rdx
	leaq	16(%rdx), %rcx
	testq	%rdx, %rdx
	jne	LBB0_4
## %bb.5:
	movq	%rbx, (%rax)
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_bfdsec_to_vmap,4,2             ## @bfdsec_to_vmap
	.comm	_vmap,8,3                       ## @vmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_vmap                       ; -- Begin function map_vmap
	.p2align	2
_map_vmap:                              ; @map_vmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x20, x0
	mov	w0, #32
	bl	_xmalloc
	mov	x19, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	stp	xzr, x20, [x19, #16]
	cmp	x21, #0
	csel	x0, x20, x21, eq
	bl	_bfd_get_filename
	str	x0, [x19]
	cbz	x21, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_bfd_get_filename
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	str	x0, [x19, #8]
	stp	x19, x21, [sp]
Lloh2:
	adrp	x8, _bfdsec_to_vmap@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bfdsec_to_vmap@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x20
	bl	_bfd_map_over_sections
Lloh5:
	adrp	x8, _vmap@GOTPAGE
Lloh6:
	ldr	x8, [x8, _vmap@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x10, [x8]
	add	x8, x10, #16
	cbnz	x10, LBB0_4
; %bb.5:
	str	x19, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_bfdsec_to_vmap,4,2             ; @bfdsec_to_vmap
	.comm	_vmap,8,3                       ; @vmap
.subsections_via_symbols
