	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_elfmachine             ## -- Begin function _libelf_elfmachine
	.p2align	4, 0x90
__libelf_elfmachine:                    ## @_libelf_elfmachine
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_EM_NONE@GOTPCREL(%rip), %r14
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_ELF_K_ELF@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movl	8(%rbx), %eax
	movq	_ELFCLASSNONE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_assert
	movl	8(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.3:
	movq	24(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_6
	jmp	LBB0_7
LBB0_4:
	movq	16(%rbx), %r14
	testq	%r14, %r14
	jne	LBB0_7
LBB0_6:
	movq	_EM_NONE@GOTPCREL(%rip), %r14
LBB0_7:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EM_NONE,4,2                    ## @EM_NONE
	.comm	_ELF_K_ELF,8,3                  ## @ELF_K_ELF
	.comm	_ELFCLASSNONE,4,2               ## @ELFCLASSNONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_elfmachine             ; -- Begin function _libelf_elfmachine
	.p2align	2
__libelf_elfmachine:                    ; @_libelf_elfmachine
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	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
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _ELFCLASSNONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ELFCLASSNONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	bl	_assert
	ldr	w9, [x19, #8]
Lloh6:
	adrp	x8, _EM_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EM_NONE@GOTPAGEOFF]
	cmp	w9, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w9, #129
	b.ne	LBB0_7
; %bb.3:
	ldr	x9, [x19, #24]
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _EM_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EM_NONE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	x9, [x19, #16]
LBB0_6:
	cmp	x9, #0
	csel	x8, x8, x9, eq
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EM_NONE,4,2                    ; @EM_NONE
	.comm	_ELF_K_ELF,8,3                  ; @ELF_K_ELF
	.comm	_ELFCLASSNONE,4,2               ; @ELFCLASSNONE
.subsections_via_symbols
