	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_print_phdr
_elf_print_phdr:                        ## @elf_print_phdr
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_E_PHENTSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_elf_get_quarter
	movq	%rax, %r12
	movq	_E_PHNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_elf_get_quarter
	movq	%rax, %r13
	movq	_out@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	testq	%r13, %r13
	jle	LBB0_3
## %bb.1:
	movq	%r13, %rax
	xorl	%r13d, %r13d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_P_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_elf_get_word
	movq	%rax, %r12
	movq	_P_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_elf_get_off
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_P_VADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_elf_get_addr
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_P_PADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_elf_get_addr
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_P_FILESZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_elf_get_size
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_P_MEMSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_elf_get_size
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_P_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_elf_get_word
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_P_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_elf_get_size
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	movq	_p_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andl	$7, %r12d
	movq	(%rax,%r12,8), %rdx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	movq	_p_flags@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdx
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.10(%rip), %rsi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incq	%r13
	addq	%r12, %rbx
	cmpq	%r13, %rax
	jne	LBB0_2
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_PHENTSIZE,4,2                ## @E_PHENTSIZE
	.comm	_E_PHNUM,4,2                    ## @E_PHNUM
	.comm	_out,4,2                        ## @out
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nprogram header:\n"

	.comm	_P_TYPE,4,2                     ## @P_TYPE
	.comm	_P_OFFSET,4,2                   ## @P_OFFSET
	.comm	_P_VADDR,4,2                    ## @P_VADDR
	.comm	_P_PADDR,4,2                    ## @P_PADDR
	.comm	_P_FILESZ,4,2                   ## @P_FILESZ
	.comm	_P_MEMSZ,4,2                    ## @P_MEMSZ
	.comm	_P_FLAGS,4,2                    ## @P_FLAGS
	.comm	_P_ALIGN,4,2                    ## @P_ALIGN
L_.str.1:                               ## @.str.1
	.asciz	"\n"

L_.str.2:                               ## @.str.2
	.asciz	"entry: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"\tp_type: %s\n"

	.comm	_p_types,8,3                    ## @p_types
L_.str.4:                               ## @.str.4
	.asciz	"\tp_offset: %jd\n"

L_.str.5:                               ## @.str.5
	.asciz	"\tp_vaddr: %#jx\n"

L_.str.6:                               ## @.str.6
	.asciz	"\tp_paddr: %#jx\n"

L_.str.7:                               ## @.str.7
	.asciz	"\tp_filesz: %jd\n"

L_.str.8:                               ## @.str.8
	.asciz	"\tp_memsz: %jd\n"

L_.str.9:                               ## @.str.9
	.asciz	"\tp_flags: %s\n"

	.comm	_p_flags,8,3                    ## @p_flags
L_.str.10:                              ## @.str.10
	.asciz	"\tp_align: %jd\n"

	.no_dead_strip	_elf_print_phdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_print_phdr
_elf_print_phdr:                        ; @elf_print_phdr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _E_PHENTSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_PHENTSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_elf_get_quarter
	mov	x21, x0
Lloh3:
	adrp	x8, _E_PHNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E_PHNUM@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x20
	bl	_elf_get_quarter
	mov	x24, x0
Lloh6:
	adrp	x27, _out@GOTPAGE
Lloh7:
	ldr	x27, [x27, _out@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	cmp	x24, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
Lloh10:
	adrp	x8, _P_TYPE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _P_TYPE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_elf_get_word
	mov	x22, x0
Lloh13:
	adrp	x8, _P_OFFSET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _P_OFFSET@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_elf_get_off
	mov	x28, x0
Lloh16:
	adrp	x8, _P_VADDR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _P_VADDR@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_elf_get_addr
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
Lloh19:
	adrp	x8, _P_PADDR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _P_PADDR@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_elf_get_addr
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
Lloh22:
	adrp	x8, _P_FILESZ@GOTPAGE
Lloh23:
	ldr	x8, [x8, _P_FILESZ@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_elf_get_size
	mov	x25, x0
Lloh25:
	adrp	x8, _P_MEMSZ@GOTPAGE
Lloh26:
	ldr	x8, [x8, _P_MEMSZ@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_elf_get_size
	mov	x26, x0
Lloh28:
	adrp	x8, _P_FLAGS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _P_FLAGS@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_elf_get_word
	mov	x21, x0
Lloh31:
	adrp	x8, _P_ALIGN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _P_ALIGN@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_elf_get_size
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w0, [x27]
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w0, [x27]
	str	x23, [sp]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w0, [x27]
Lloh38:
	adrp	x8, _p_types@GOTPAGE
Lloh39:
	ldr	x8, [x8, _p_types@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	and	x9, x22, #0x7
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp]
Lloh41:
	adrp	x1, l_.str.3@PAGE
Lloh42:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	ldr	w0, [x27]
	str	x28, [sp]
Lloh43:
	adrp	x1, l_.str.4@PAGE
Lloh44:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	ldr	w0, [x27]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh45:
	adrp	x1, l_.str.5@PAGE
Lloh46:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	ldr	w0, [x27]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh47:
	adrp	x1, l_.str.6@PAGE
Lloh48:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	ldr	w0, [x27]
	str	x25, [sp]
Lloh49:
	adrp	x1, l_.str.7@PAGE
Lloh50:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	ldr	w0, [x27]
	str	x26, [sp]
Lloh51:
	adrp	x1, l_.str.8@PAGE
Lloh52:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	ldr	w0, [x27]
Lloh53:
	adrp	x8, _p_flags@GOTPAGE
Lloh54:
	ldr	x8, [x8, _p_flags@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	str	x8, [sp]
Lloh56:
	adrp	x1, l_.str.9@PAGE
Lloh57:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fprintf
	ldr	w0, [x27]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh58:
	adrp	x1, l_.str.10@PAGE
Lloh59:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_fprintf
	add	x23, x23, #1
	add	x19, x19, x21
	cmp	x24, x23
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_E_PHENTSIZE,4,2                ; @E_PHENTSIZE
	.comm	_E_PHNUM,4,2                    ; @E_PHNUM
	.comm	_out,4,2                        ; @out
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nprogram header:\n"

	.comm	_P_TYPE,4,2                     ; @P_TYPE
	.comm	_P_OFFSET,4,2                   ; @P_OFFSET
	.comm	_P_VADDR,4,2                    ; @P_VADDR
	.comm	_P_PADDR,4,2                    ; @P_PADDR
	.comm	_P_FILESZ,4,2                   ; @P_FILESZ
	.comm	_P_MEMSZ,4,2                    ; @P_MEMSZ
	.comm	_P_FLAGS,4,2                    ; @P_FLAGS
	.comm	_P_ALIGN,4,2                    ; @P_ALIGN
l_.str.1:                               ; @.str.1
	.asciz	"\n"

l_.str.2:                               ; @.str.2
	.asciz	"entry: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"\tp_type: %s\n"

	.comm	_p_types,8,3                    ; @p_types
l_.str.4:                               ; @.str.4
	.asciz	"\tp_offset: %jd\n"

l_.str.5:                               ; @.str.5
	.asciz	"\tp_vaddr: %#jx\n"

l_.str.6:                               ; @.str.6
	.asciz	"\tp_paddr: %#jx\n"

l_.str.7:                               ; @.str.7
	.asciz	"\tp_filesz: %jd\n"

l_.str.8:                               ; @.str.8
	.asciz	"\tp_memsz: %jd\n"

l_.str.9:                               ; @.str.9
	.asciz	"\tp_flags: %s\n"

	.comm	_p_flags,8,3                    ; @p_flags
l_.str.10:                              ; @.str.10
	.asciz	"\tp_align: %jd\n"

	.no_dead_strip	_elf_print_phdr
.subsections_via_symbols
