	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_core
_handle_core:                           ## @handle_core
	.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	_RETURN_DATAERR@GOTPCREL(%rip), %rax
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.2:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_26
## %bb.3:
	cmpq	$0, (%r12)
	jne	LBB0_26
## %bb.4:
	movq	8(%r12), %rcx
	movq	_ET_CORE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_26
## %bb.5:
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	movq	_style@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_STYLE_SYSV@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_sysv_header
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	callq	_berkeley_header
LBB0_8:
	cmpq	$0, 16(%r12)
	jle	LBB0_17
## %bb.9:
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_handle_phdr
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	cmpq	16(%r12), %rbx
	jge	LBB0_17
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_gelf_getphdr
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	-56(%rbp), %eax
	movq	_PT_NOTE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	leaq	L_.str(%rip), %r8
	callq	_handle_phdr
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	leaq	-48(%rbp), %rcx
	callq	_handle_core_note
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	addl	$-128, %eax
	leaq	L_.str.9(%rip), %r8
	cmpl	$7, %eax
	ja	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	cltq
	leaq	l_reltable.handle_core(%rip), %rcx
	movslq	(%rcx,%rax,4), %r8
	addq	%rcx, %r8
	jmp	LBB0_15
LBB0_17:
	movq	_style@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_STYLE_BERKELEY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.18:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.19:
	leaq	L_.str.10(%rip), %rdx
	jmp	LBB0_20
LBB0_22:
	xorl	%eax, %eax
	callq	_sysv_footer
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.23:
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_25
LBB0_21:
	leaq	L_.str.11(%rip), %rdx
	xorl	%edi, %edi
LBB0_20:
	movq	%r14, %rsi
	callq	_berkeley_footer
	jmp	LBB0_25
LBB0_24:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_25:
	movq	-48(%rbp), %rdi
	callq	_free
	movq	_RETURN_OK@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RETURN_DATAERR,4,2             ## @RETURN_DATAERR
	.comm	_ET_CORE,8,3                    ## @ET_CORE
	.comm	_style,8,3                      ## @style
	.comm	_STYLE_SYSV,8,3                 ## @STYLE_SYSV
	.comm	_PT_NOTE,4,2                    ## @PT_NOTE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"note"

L_.str.1:                               ## @.str.1
	.asciz	"null"

L_.str.2:                               ## @.str.2
	.asciz	"load"

L_.str.3:                               ## @.str.3
	.asciz	"dynamic"

L_.str.4:                               ## @.str.4
	.asciz	"interp"

L_.str.5:                               ## @.str.5
	.asciz	"shlib"

L_.str.6:                               ## @.str.6
	.asciz	"phdr"

L_.str.7:                               ## @.str.7
	.asciz	"eh_frame_hdr"

L_.str.8:                               ## @.str.8
	.asciz	"stack"

L_.str.9:                               ## @.str.9
	.asciz	"segment"

	.comm	_STYLE_BERKELEY,8,3             ## @STYLE_BERKELEY
L_.str.10:                              ## @.str.10
	.asciz	"core file invoked as"

L_.str.11:                              ## @.str.11
	.asciz	"core file"

L_.str.12:                              ## @.str.12
	.asciz	" (core file invoked as %s)\n\n"

	.comm	_RETURN_OK,4,2                  ## @RETURN_OK
L_str:                                  ## @str
	.asciz	" (core file)\n"

	.no_dead_strip	_handle_core
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.handle_core
l_reltable.handle_core:
	.long	L_.str.5-l_reltable.handle_core
	.long	L_.str.6-l_reltable.handle_core
	.long	L_.str.1-l_reltable.handle_core
	.long	L_.str.2-l_reltable.handle_core
	.long	L_.str.4-l_reltable.handle_core
	.long	L_.str.8-l_reltable.handle_core
	.long	L_.str.7-l_reltable.handle_core
	.long	L_.str.3-l_reltable.handle_core

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_core
_handle_core:                           ; @handle_core
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _RETURN_DATAERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETURN_DATAERR@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_8
; %bb.2:
	mov	x20, x2
	cbz	x2, LBB0_8
; %bb.3:
	ldr	x8, [x20]
	cbnz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _ET_CORE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ET_CORE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	mov	x19, x0
Lloh5:
	adrp	x24, _style@GOTPAGE
Lloh6:
	ldr	x24, [x24, _style@GOTPAGEOFF]
	str	xzr, [sp, #16]
	ldr	x8, [x24]
Lloh7:
	adrp	x9, _STYLE_SYSV@GOTPAGE
Lloh8:
	ldr	x9, [x9, _STYLE_SYSV@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x19
	mov	x1, #0
	bl	_sysv_header
	b	LBB0_10
LBB0_7:
Lloh10:
	adrp	x8, _RETURN_DATAERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RETURN_DATAERR@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_9:
	bl	_berkeley_header
LBB0_10:
	ldr	x8, [x20, #16]
	cmp	x8, #1
	b.lt	LBB0_19
; %bb.11:
	mov	x22, #0
Lloh12:
	adrp	x25, _PT_NOTE@GOTPAGE
Lloh13:
	ldr	x25, [x25, _PT_NOTE@GOTPAGEOFF]
Lloh14:
	adrp	x23, l_.str@PAGE
Lloh15:
	add	x23, x23, l_.str@PAGEOFF
Lloh16:
	adrp	x26, l_.str.9@PAGE
Lloh17:
	add	x26, x26, l_.str.9@PAGEOFF
Lloh18:
	adrp	x27, l_switch.table.handle_core@PAGE
Lloh19:
	add	x27, x27, l_switch.table.handle_core@PAGEOFF
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	bl	_handle_phdr
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x22, #1
	ldr	x8, [x20, #16]
	cmp	x22, x8
	b.ge	LBB0_19
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x22
	bl	_gelf_getphdr
	cbz	x0, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [sp, #24]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	mov	x4, x23
	bl	_handle_phdr
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x20
	bl	_handle_core_note
	b	LBB0_13
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	w8, w8, #128
	mov	x4, x26
	cmp	w8, #7
	b.hi	LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x4, [x27, w8, sxtw #3]
	b	LBB0_12
LBB0_19:
	ldr	x8, [x24]
Lloh20:
	adrp	x9, _STYLE_BERKELEY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _STYLE_BERKELEY@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.20:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_24
; %bb.21:
Lloh23:
	adrp	x2, l_.str.10@PAGE
Lloh24:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_25
LBB0_22:
	bl	_sysv_footer
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_26
; %bb.23:
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.12@PAGE
Lloh26:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_printf
	b	LBB0_27
LBB0_24:
Lloh27:
	adrp	x2, l_.str.11@PAGE
Lloh28:
	add	x2, x2, l_.str.11@PAGEOFF
LBB0_25:
	mov	x1, x19
	bl	_berkeley_footer
	b	LBB0_27
LBB0_26:
Lloh29:
	adrp	x0, l_str@PAGE
Lloh30:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_27:
	ldr	x0, [sp, #16]
	bl	_free
Lloh31:
	adrp	x8, _RETURN_OK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RETURN_OK@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_RETURN_DATAERR,4,2             ; @RETURN_DATAERR
	.comm	_ET_CORE,8,3                    ; @ET_CORE
	.comm	_style,8,3                      ; @style
	.comm	_STYLE_SYSV,8,3                 ; @STYLE_SYSV
	.comm	_PT_NOTE,4,2                    ; @PT_NOTE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"note"

l_.str.1:                               ; @.str.1
	.asciz	"null"

l_.str.2:                               ; @.str.2
	.asciz	"load"

l_.str.3:                               ; @.str.3
	.asciz	"dynamic"

l_.str.4:                               ; @.str.4
	.asciz	"interp"

l_.str.5:                               ; @.str.5
	.asciz	"shlib"

l_.str.6:                               ; @.str.6
	.asciz	"phdr"

l_.str.7:                               ; @.str.7
	.asciz	"eh_frame_hdr"

l_.str.8:                               ; @.str.8
	.asciz	"stack"

l_.str.9:                               ; @.str.9
	.asciz	"segment"

	.comm	_STYLE_BERKELEY,8,3             ; @STYLE_BERKELEY
l_.str.10:                              ; @.str.10
	.asciz	"core file invoked as"

l_.str.11:                              ; @.str.11
	.asciz	"core file"

l_.str.12:                              ; @.str.12
	.asciz	" (core file invoked as %s)\n\n"

	.comm	_RETURN_OK,4,2                  ; @RETURN_OK
l_str:                                  ; @str
	.asciz	" (core file)\n"

	.no_dead_strip	_handle_core
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.handle_core
l_switch.table.handle_core:
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.4
	.quad	l_.str.8
	.quad	l_.str.7
	.quad	l_.str.3

.subsections_via_symbols
