	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___elf_is_okay__                ## -- Begin function __elf_is_okay__
	.p2align	4, 0x90
___elf_is_okay__:                       ## @__elf_is_okay__
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	%rax, 16(%rsp)
	movups	(%rdi), %xmm0
	movups	%xmm0, (%rsp)
	callq	_IS_ELF
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %rcx
	movq	_EI_CLASS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rdx
	movq	_ELF_TARG_CLASS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_6
## %bb.2:
	movq	_EI_DATA@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rdx
	movq	_ELF_TARG_DATA@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_6
## %bb.3:
	movq	_EI_VERSION@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	_ELF_TARG_VER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.4:
	movq	8(%rbx), %rdx
	movq	_ELF_TARG_MACH@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	cmpq	%rcx, 16(%rbx)
	sete	%al
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EI_CLASS,8,3                   ## @EI_CLASS
	.comm	_ELF_TARG_CLASS,8,3             ## @ELF_TARG_CLASS
	.comm	_EI_DATA,8,3                    ## @EI_DATA
	.comm	_ELF_TARG_DATA,8,3              ## @ELF_TARG_DATA
	.comm	_EI_VERSION,8,3                 ## @EI_VERSION
	.comm	_ELF_TARG_VER,8,3               ## @ELF_TARG_VER
	.comm	_ELF_TARG_MACH,8,3              ## @ELF_TARG_MACH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___elf_is_okay__                ; -- Begin function __elf_is_okay__
	.p2align	2
___elf_is_okay__:                       ; @__elf_is_okay__
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	q0, [x0]
	str	q0, [sp]
	ldr	x8, [x0, #16]
	str	x8, [sp, #16]
	mov	x0, sp
	bl	_IS_ELF
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _EI_CLASS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EI_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
Lloh3:
	adrp	x10, _ELF_TARG_CLASS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ELF_TARG_CLASS@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.2:
Lloh6:
	adrp	x9, _EI_DATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EI_DATA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
Lloh9:
	adrp	x10, _ELF_TARG_DATA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ELF_TARG_DATA@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.3:
Lloh12:
	adrp	x9, _EI_VERSION@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EI_VERSION@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh15:
	adrp	x9, _ELF_TARG_VER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ELF_TARG_VER@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x9, [x19, #8]
Lloh18:
	adrp	x10, _ELF_TARG_MACH@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ELF_TARG_MACH@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
	ldr	x9, [x19, #16]
	cmp	x9, x8
	cset	w0, eq
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EI_CLASS,8,3                   ; @EI_CLASS
	.comm	_ELF_TARG_CLASS,8,3             ; @ELF_TARG_CLASS
	.comm	_EI_DATA,8,3                    ; @EI_DATA
	.comm	_ELF_TARG_DATA,8,3              ; @ELF_TARG_DATA
	.comm	_EI_VERSION,8,3                 ; @EI_VERSION
	.comm	_ELF_TARG_VER,8,3               ; @ELF_TARG_VER
	.comm	_ELF_TARG_MACH,8,3              ; @ELF_TARG_MACH
.subsections_via_symbols
