	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_64bit_program_headers
_get_64bit_program_headers:             ## @get_64bit_program_headers
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_elf_header@GOTPCREL(%rip), %r13
	movl	8(%r13), %ebx
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r13), %r12d
	leaq	L_.str(%rip), %rdi
	callq	__
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	callq	_get_data
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	cmpl	$0, (%r13)
	je	LBB0_4
## %bb.2:
	xorl	%r15d, %r15d
	movl	$28, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx), %edi
	callq	_BYTE_GET
	movq	%rax, (%r14,%rbx,2)
	movl	-4(%r12,%rbx), %edi
	callq	_BYTE_GET
	movq	%rax, -8(%r14,%rbx,2)
	movl	-8(%r12,%rbx), %edi
	callq	_BYTE_GET
	movq	%rax, -16(%r14,%rbx,2)
	movl	-12(%r12,%rbx), %edi
	callq	_BYTE_GET
	movq	%rax, -24(%r14,%rbx,2)
	movl	-16(%r12,%rbx), %edi
	callq	_BYTE_GET
	movq	%rax, -32(%r14,%rbx,2)
	movl	-20(%r12,%rbx), %edi
	callq	_BYTE_GET
	movq	%rax, -40(%r14,%rbx,2)
	movl	-24(%r12,%rbx), %edi
	callq	_BYTE_GET
	movq	%rax, -48(%r14,%rbx,2)
	movl	-28(%r12,%rbx), %edi
	callq	_BYTE_GET
	movq	%rax, -56(%r14,%rbx,2)
	incl	%r15d
	addq	$32, %rbx
	cmpl	(%r13), %r15d
	jb	LBB0_3
LBB0_4:
	movq	%r12, %rdi
	callq	_free
	movl	$1, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_elf_header,12,2                ## @elf_header
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"program headers"

	.no_dead_strip	_get_64bit_program_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_64bit_program_headers
_get_64bit_program_headers:             ; @get_64bit_program_headers
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _elf_header@GOTPAGE
Lloh1:
	ldr	x24, [x24, _elf_header@GOTPAGEOFF]
	ldp	w22, w21, [x24, #4]
	ldr	w23, [x24]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x5, x0
	mov	x0, #0
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	bl	_get_data
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x24]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w21, #0
	add	x22, x19, #16
	add	x20, x20, #32
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #12]
	bl	_BYTE_GET
	str	x0, [x20, #24]
	ldr	w0, [x22, #8]
	bl	_BYTE_GET
	str	x0, [x20, #16]
	ldr	w0, [x22, #4]
	bl	_BYTE_GET
	str	x0, [x20, #8]
	ldr	w0, [x22]
	bl	_BYTE_GET
	str	x0, [x20]
	ldur	w0, [x22, #-4]
	bl	_BYTE_GET
	stur	x0, [x20, #-8]
	ldur	w0, [x22, #-8]
	bl	_BYTE_GET
	stur	x0, [x20, #-16]
	ldur	w0, [x22, #-12]
	bl	_BYTE_GET
	stur	x0, [x20, #-24]
	ldur	w0, [x22, #-16]
	bl	_BYTE_GET
	stur	x0, [x20, #-32]
	add	w21, w21, #1
	ldr	w8, [x24]
	add	x22, x22, #32
	add	x20, x20, #64
	cmp	w21, w8
	b.lo	LBB0_3
LBB0_4:
	mov	x0, x19
	bl	_free
	mov	w0, #1
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_elf_header,12,2                ; @elf_header
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"program headers"

	.no_dead_strip	_get_64bit_program_headers
.subsections_via_symbols
