	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efinet_get
_efinet_get:                            ## @efinet_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	$-1, %r14d
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	8(%rbx), %rax
	movq	_ETHER_HDR_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	addl	(%rax), %edi
	movq	_ETHER_CRC_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	movl	%edi, -44(%rbp)
	movq	_ETHER_ALIGN@GOTPCREL(%rip), %r12
	addl	(%r12), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movslq	(%r12), %r13
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	%rax, %r13
	xorl	%eax, %eax
	callq	_getsecs
	movq	%rax, %r14
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_getsecs
	subq	%r14, %rax
	cmpq	%r15, %rax
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*(%rbx)
	cmpq	(%r12), %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_EFI_NOT_READY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
	jmp	LBB0_7
LBB0_6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movl	-44(%rbp), %r14d
	cmpl	$-1, %r14d
	jne	LBB0_8
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	$-1, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHER_HDR_LEN,4,2              ## @ETHER_HDR_LEN
	.comm	_ETHER_CRC_LEN,4,2              ## @ETHER_CRC_LEN
	.comm	_ETHER_ALIGN,4,2                ## @ETHER_ALIGN
	.comm	_EFI_SUCCESS,8,3                ## @EFI_SUCCESS
	.comm	_EFI_NOT_READY,8,3              ## @EFI_NOT_READY
	.no_dead_strip	_efinet_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efinet_get
_efinet_get:                            ; @efinet_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	ldr	x21, [x8]
	cbz	x21, LBB0_8
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _ETHER_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETHER_HDR_LEN@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _ETHER_CRC_LEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ETHER_CRC_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w8, w8, w10
	str	w8, [sp, #12]
Lloh6:
	adrp	x23, _ETHER_ALIGN@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ETHER_ALIGN@GOTPAGEOFF]
	ldr	w9, [x23]
	add	w0, w9, w8
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x22, x0
	ldrsw	x8, [x23]
	add	x23, x0, x8
	bl	_getsecs
	mov	x24, x0
Lloh8:
	adrp	x25, _EFI_SUCCESS@GOTPAGE
Lloh9:
	ldr	x25, [x25, _EFI_SUCCESS@GOTPAGEOFF]
Lloh10:
	adrp	x26, _EFI_NOT_READY@GOTPAGE
Lloh11:
	ldr	x26, [x26, _EFI_NOT_READY@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_getsecs
	sub	x8, x0, x24
	cmp	x8, x20
	b.ge	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, #0
	mov	x3, x23
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	blr	x8
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_3
	b	LBB0_7
LBB0_6:
	str	x22, [x19]
	ldr	w0, [sp, #12]
	cmn	w0, #1
	b.ne	LBB0_9
LBB0_7:
	mov	x0, x22
	bl	_free
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHER_HDR_LEN,4,2              ; @ETHER_HDR_LEN
	.comm	_ETHER_CRC_LEN,4,2              ; @ETHER_CRC_LEN
	.comm	_ETHER_ALIGN,4,2                ; @ETHER_ALIGN
	.comm	_EFI_SUCCESS,8,3                ; @EFI_SUCCESS
	.comm	_EFI_NOT_READY,8,3              ; @EFI_NOT_READY
	.no_dead_strip	_efinet_get
.subsections_via_symbols
