	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_is_mips64el            ## -- Begin function _libelf_is_mips64el
	.p2align	4, 0x90
__libelf_is_mips64el:                   ## @_libelf_is_mips64el
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_ELF_K_ELF@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	movq	8(%rdi), %rcx
	movq	_ELFCLASS64@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.2:
	movq	16(%rdi), %rcx
	movq	(%rcx), %rdx
	movq	_EM_MIPS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.3:
	movq	8(%rcx), %rax
	movq	_EI_DATA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	_ELFDATA2LSB@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELF_K_ELF,8,3                  ## @ELF_K_ELF
	.comm	_ELFCLASS64,8,3                 ## @ELFCLASS64
	.comm	_EM_MIPS,8,3                    ## @EM_MIPS
	.comm	_EI_DATA,8,3                    ## @EI_DATA
	.comm	_ELFDATA2LSB,8,3                ## @ELFDATA2LSB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_is_mips64el            ; -- Begin function _libelf_is_mips64el
	.p2align	2
__libelf_is_mips64el:                   ; @_libelf_is_mips64el
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ELF_K_ELF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ELF_K_ELF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _ELFCLASS64@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ELFCLASS64@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x0, #16]
	ldr	x9, [x8]
Lloh6:
	adrp	x10, _EM_MIPS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EM_MIPS@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x8, #8]
Lloh9:
	adrp	x9, _EI_DATA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EI_DATA@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh12:
	adrp	x9, _ELFDATA2LSB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ELFDATA2LSB@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ELF_K_ELF,8,3                  ; @ELF_K_ELF
	.comm	_ELFCLASS64,8,3                 ; @ELFCLASS64
	.comm	_EM_MIPS,8,3                    ; @EM_MIPS
	.comm	_EI_DATA,8,3                    ; @EI_DATA
	.comm	_ELFDATA2LSB,8,3                ; @ELFDATA2LSB
.subsections_via_symbols
