	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_print_interp
_elf_print_interp:                      ## @elf_print_interp
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	addq	$4, %rdi
	callq	_STAILQ_EMPTY
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_find_name
	testq	%rax, %rax
	je	LBB0_16
LBB0_2:
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rsi
	callq	_elf_rawfile
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r14
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_elf_getphnum
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	cmpq	$0, -48(%rbp)
	je	LBB0_16
## %bb.8:
	leaq	-72(%rbp), %r15
	leaq	L_.str.3(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	cmpq	-48(%rbp), %r12
	jae	LBB0_16
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_gelf_getphdr
	cmpq	%r15, %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-72(%rbp), %rax
	movq	_PT_INTERP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-64(%rbp), %rax
	cmpq	-56(%rbp), %rax
	jae	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_PRT
	movq	-64(%rbp), %rsi
	addq	%r14, %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_PRT
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_15
LBB0_3:
	leaq	L_.str.1(%rip), %rbx
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.2(%rip), %rbx
LBB0_4:
	movl	$-1, %edi
	callq	_elf_errmsg
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PT_INTERP"

L_.str.1:                               ## @.str.1
	.asciz	"elf_rawfile failed: %s"

L_.str.2:                               ## @.str.2
	.asciz	"elf_getphnum failed: %s"

L_.str.3:                               ## @.str.3
	.asciz	"elf_getphdr failed: %s"

	.comm	_PT_INTERP,8,3                  ## @PT_INTERP
L_.str.4:                               ## @.str.4
	.asciz	"invalid phdr offset"

L_.str.5:                               ## @.str.5
	.asciz	"\ninterp:\n"

L_.str.6:                               ## @.str.6
	.asciz	"\t%s\n"

	.no_dead_strip	_elf_print_interp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_print_interp
_elf_print_interp:                      ; @elf_print_interp
	.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, x0
	add	x0, x0, #4
	bl	_STAILQ_EMPTY
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_find_name
	cbz	x0, LBB0_17
LBB0_2:
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_elf_rawfile
	cbz	x0, LBB0_14
; %bb.3:
	mov	x20, x0
	ldr	w0, [x19]
	add	x1, sp, #16
	bl	_elf_getphnum
	cbz	w0, LBB0_15
; %bb.4:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_17
; %bb.5:
	mov	x21, #0
	add	x26, sp, #32
Lloh2:
	adrp	x27, _PT_INTERP@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PT_INTERP@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.5@PAGE
Lloh5:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh6:
	adrp	x23, l_.str.6@PAGE
Lloh7:
	add	x23, x23, l_.str.6@PAGEOFF
Lloh8:
	adrp	x24, l_.str.4@PAGE
Lloh9:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh10:
	adrp	x25, l_.str.3@PAGE
Lloh11:
	add	x25, x25, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x25
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_warnx
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	ldr	x8, [sp, #16]
	cmp	x21, x8
	b.hs	LBB0_17
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	add	x2, sp, #32
	mov	x1, x21
	bl	_gelf_getphdr
	cmp	x0, x26
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #32]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #40]
	ldr	x9, [sp, #24]
	cmp	x8, x9
	b.hs	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	bl	_PRT
	ldr	x8, [sp, #40]
	add	x8, x20, x8
	str	x8, [sp]
	mov	x0, x23
	bl	_PRT
	b	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x24
	b	LBB0_7
LBB0_14:
Lloh12:
	adrp	x19, l_.str.1@PAGE
Lloh13:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh14:
	adrp	x19, l_.str.2@PAGE
Lloh15:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_16:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x19
	bl	_warnx
LBB0_17:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PT_INTERP"

l_.str.1:                               ; @.str.1
	.asciz	"elf_rawfile failed: %s"

l_.str.2:                               ; @.str.2
	.asciz	"elf_getphnum failed: %s"

l_.str.3:                               ; @.str.3
	.asciz	"elf_getphdr failed: %s"

	.comm	_PT_INTERP,8,3                  ; @PT_INTERP
l_.str.4:                               ; @.str.4
	.asciz	"invalid phdr offset"

l_.str.5:                               ; @.str.5
	.asciz	"\ninterp:\n"

l_.str.6:                               ; @.str.6
	.asciz	"\t%s\n"

	.no_dead_strip	_elf_print_interp
.subsections_via_symbols
