	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc64_elf_object_p
_ppc64_elf_object_p:                    ## @ppc64_elf_object_p
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_4
## %bb.1:
	cmpl	$32, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	%rdi, %rbx
	callq	_elf_elfheader
	movq	(%rax), %rax
	movq	_EI_CLASS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_ELFCLASS64@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movq	%rax, (%rbx)
	xorl	%edi, %edi
	cmpl	$64, (%rax)
	sete	%dil
	callq	_BFD_ASSERT
LBB0_4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EI_CLASS,8,3                   ## @EI_CLASS
	.comm	_ELFCLASS64,8,3                 ## @ELFCLASS64
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ppc64_elf_object_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc64_elf_object_p
_ppc64_elf_object_p:                    ; @ppc64_elf_object_p
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_4
; %bb.1:
	ldr	w8, [x8]
	cmp	w8, #32
	b.ne	LBB0_4
; %bb.2:
	mov	x19, x0
	bl	_elf_elfheader
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EI_CLASS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EI_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh3:
	adrp	x9, _ELFCLASS64@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ELFCLASS64@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	str	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #64
	cset	w0, eq
	bl	_BFD_ASSERT
LBB0_4:
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EI_CLASS,8,3                   ; @EI_CLASS
	.comm	_ELFCLASS64,8,3                 ; @ELFCLASS64
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ppc64_elf_object_p
.subsections_via_symbols
