	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_notes
_dump_notes:                            ## @dump_notes
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	_ET_CORE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.7:
	movl	16(%r14), %edi
	leaq	-48(%rbp), %rsi
	callq	_elf_getphnum
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	cmpq	$0, -48(%rbp)
	je	LBB0_25
## %bb.11:
	movl	16(%r14), %edi
	leaq	-64(%rbp), %rsi
	callq	_elf_rawfile
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	cmpq	$0, -48(%rbp)
	je	LBB0_25
## %bb.14:
	leaq	-88(%rbp), %r15
	movq	_PT_NOTE@GOTPCREL(%rip), %rbx
	leaq	L_.str.2(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%r12
	cmpq	%r12, -48(%rbp)
	jbe	LBB0_25
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%r14), %edi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_gelf_getphdr
	cmpq	%r15, %rax
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-88(%rbp), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-80(%rbp), %rcx
	movq	-64(%rbp), %rax
	subq	%rcx, %rax
	jbe	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-72(%rbp), %rdx
	cmpq	%rax, %rdx
	jbe	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rsi
	movq	%r14, %rdi
	callq	_dump_notes_content
	jmp	LBB0_22
LBB0_1:
	cmpq	$0, (%r14)
	je	LBB0_25
## %bb.2:
	movl	$16, %ebx
	movq	_SHT_NOTE@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	movq	-8(%r15,%rbx), %rcx
	movq	%r14, %rdi
	callq	_dump_notes_content
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	addq	$24, %rbx
	cmpq	%r13, (%r14)
	jbe	LBB0_25
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r15
	movq	-16(%r15,%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_24
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_elf_errno
	movl	(%r15,%rbx), %edi
	xorl	%esi, %esi
	callq	_elf_getdata
	testq	%rax, %rax
	jne	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	je	LBB0_24
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edi
	callq	_elf_errmsg
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_24
LBB0_8:
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_9
LBB0_12:
	leaq	L_.str.1(%rip), %rbx
LBB0_9:
	movl	$-1, %edi
	callq	_elf_errmsg
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
LBB0_25:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ET_CORE,8,3                    ## @ET_CORE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"elf_getphnum failed: %s"

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

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

	.comm	_PT_NOTE,8,3                    ## @PT_NOTE
L_.str.3:                               ## @.str.3
	.asciz	"invalid PHDR offset"

	.comm	_SHT_NOTE,8,3                   ## @SHT_NOTE
L_.str.4:                               ## @.str.4
	.asciz	"elf_getdata failed: %s"

	.no_dead_strip	_dump_notes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_notes
_dump_notes:                            ; @dump_notes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _ET_CORE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ET_CORE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.1:
	ldr	w0, [x19, #16]
	add	x1, sp, #8
	bl	_elf_getphnum
	cbz	x0, LBB0_23
; %bb.2:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_26
; %bb.3:
	ldr	w0, [x19, #16]
	add	x1, sp, #16
	bl	_elf_rawfile
	cbz	x0, LBB0_24
; %bb.4:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_26
; %bb.5:
	mov	x20, x0
	mov	x21, #0
	add	x24, sp, #24
Lloh3:
	adrp	x25, _PT_NOTE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _PT_NOTE@GOTPAGEOFF]
Lloh5:
	adrp	x22, l_.str.3@PAGE
Lloh6:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh7:
	adrp	x23, l_.str.2@PAGE
Lloh8:
	add	x23, x23, l_.str.2@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, x23
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, #8]
	cmp	x8, x21
	b.ls	LBB0_26
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	add	x2, sp, #24
	mov	x1, x21
	bl	_gelf_getphdr
	cmp	x0, x24
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x3, [sp, #32]
	ldr	x8, [sp, #16]
	subs	x8, x8, x3
	b.ls	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x2, [sp, #40]
	cmp	x2, x8
	b.ls	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	b	LBB0_7
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x1, x20, x3
	mov	x0, x19
	bl	_dump_notes_content
	b	LBB0_8
LBB0_15:
	ldr	x8, [x19]
	cbz	x8, LBB0_26
; %bb.16:
	mov	x21, #0
	mov	x22, #0
Lloh9:
	adrp	x23, _SHT_NOTE@GOTPAGE
Lloh10:
	ldr	x23, [x23, _SHT_NOTE@GOTPAGEOFF]
Lloh11:
	adrp	x20, l_.str.4@PAGE
Lloh12:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	ldp	x1, x2, [x0]
	ldr	x3, [x24, #8]
	mov	x0, x19
	bl	_dump_notes_content
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x22, x22, #1
	ldr	x8, [x19]
	add	x21, x21, #24
	cmp	x8, x22
	b.ls	LBB0_26
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19, #8]
	ldr	x8, [x24, x21]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	bl	_elf_errno
	add	x24, x24, x21
	ldr	w0, [x24, #16]
	mov	x1, #0
	bl	_elf_getdata
	cbnz	x0, LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	bl	_elf_errno
	cbz	w0, LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x20
	bl	_warnx
	b	LBB0_18
LBB0_23:
Lloh13:
	adrp	x19, l_.str@PAGE
Lloh14:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_25
LBB0_24:
Lloh15:
	adrp	x19, l_.str.1@PAGE
Lloh16:
	add	x19, x19, l_.str.1@PAGEOFF
LBB0_25:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x19
	bl	_warnx
LBB0_26:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ET_CORE,8,3                    ; @ET_CORE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"elf_getphnum failed: %s"

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

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

	.comm	_PT_NOTE,8,3                    ; @PT_NOTE
l_.str.3:                               ; @.str.3
	.asciz	"invalid PHDR offset"

	.comm	_SHT_NOTE,8,3                   ; @SHT_NOTE
l_.str.4:                               ; @.str.4
	.asciz	"elf_getdata failed: %s"

	.no_dead_strip	_dump_notes
.subsections_via_symbols
