	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_unmap_file
_elf_unmap_file:                        ## @elf_unmap_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	leaq	-32(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	20(%rbx), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movl	(%rbx), %edi
	callq	_close
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	16(%rbx), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	$-1, (%rbx)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -24(%rbp)
	movq	$0, -32(%rbp)
	cmpq	$0, 24(%rbx)
	jle	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	_elf_unmap_section
	movq	-32(%rbp), %rax
	incq	%rax
	movq	%rax, -32(%rbp)
	cmpq	24(%rbx), %rax
	jl	LBB0_4
	jmp	LBB0_5
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_elf_unmap_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_unmap_file
_elf_unmap_file:                        ; @elf_unmap_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_GetProcessHeap
	ldr	w2, [x19, #20]
	mov	w1, #0
	bl	_HeapFree
	ldr	w0, [x19]
	bl	_close
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_GetProcessHeap
	ldr	w2, [x19, #16]
	mov	w1, #0
	bl	_HeapFree
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w8, [x19]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	xzr, x19, [sp]
	ldr	x8, [x19, #24]
	cmp	x8, #1
	b.lt	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, sp
	bl	_elf_unmap_section
	ldr	x8, [sp]
	add	x8, x8, #1
	str	x8, [sp]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.lt	LBB0_6
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_elf_unmap_file
.subsections_via_symbols
