	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_open                       ## -- Begin function elf_open
	.p2align	4, 0x90
_elf_open:                              ## @elf_open
	.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
	movl	%edi, %ebx
	movq	_version@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIBELF_PRIVATE
	movq	_EV_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_LIBELF_SET_ERROR
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_ELF_C_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__libelf_open_object            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_version,4,2                    ## @version
	.comm	_EV_NONE,8,3                    ## @EV_NONE
	.comm	_SEQUENCE,4,2                   ## @SEQUENCE
	.comm	_ELF_C_READ,4,2                 ## @ELF_C_READ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_open                       ; -- Begin function elf_open
	.p2align	2
_elf_open:                              ; @elf_open
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _version@GOTPAGE
Lloh1:
	ldr	x8, [x8, _version@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LIBELF_PRIVATE
Lloh3:
	adrp	x8, _EV_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _SEQUENCE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEQUENCE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_LIBELF_SET_ERROR
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh9:
	adrp	x8, _ELF_C_READ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ELF_C_READ@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__libelf_open_object
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_version,4,2                    ; @version
	.comm	_EV_NONE,8,3                    ; @EV_NONE
	.comm	_SEQUENCE,4,2                   ; @SEQUENCE
	.comm	_ELF_C_READ,4,2                 ; @ELF_C_READ
.subsections_via_symbols
