	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_get_byte
_elf_get_byte:                          ## @elf_get_byte
	.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), %rax
	movq	_EI_CLASS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.3:
	movq	_elf32_offsets@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_elf64_offsets@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %rax
	movq	(%rsi,%rax,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EI_CLASS,8,3                   ## @EI_CLASS
	.comm	_elf32_offsets,8,3              ## @elf32_offsets
	.comm	_elf64_offsets,8,3              ## @elf64_offsets
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid class"

	.no_dead_strip	_elf_get_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_get_byte
_elf_get_byte:                          ; @elf_get_byte
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EI_CLASS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EI_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _elf32_offsets@GOTPAGE
Lloh4:
	ldr	x8, [x8, _elf32_offsets@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_5:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh7:
	adrp	x8, _elf64_offsets@GOTPAGE
Lloh8:
	ldr	x8, [x8, _elf64_offsets@GOTPAGEOFF]
LBB0_7:
	ldr	x8, [x8]
	ldr	x8, [x8, x2, lsl #3]
	ldr	x0, [x1, x8, lsl #3]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EI_CLASS,8,3                   ; @EI_CLASS
	.comm	_elf32_offsets,8,3              ; @elf32_offsets
	.comm	_elf64_offsets,8,3              ; @elf64_offsets
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid class"

	.no_dead_strip	_elf_get_byte
.subsections_via_symbols
