	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxe_netif_receive
_pxe_netif_receive:                     ## @pxe_netif_receive
	.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, %r15
	movl	$48, %edi
	callq	_bio_alloc
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$48, %esi
	callq	_bzero
	movq	_PXENV_UNDI_ISR_IN_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_PXENV_UNDI_ISR@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_pxe_call
	cmpq	$0, 8(%rbx)
	jne	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_bzero
	movq	_PXENV_UNDI_ISR_IN_PROCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_pxe_call
	cmpq	$0, 8(%rbx)
	je	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_bio_free
LBB0_19:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	_PXENV_UNDI_ISR_OUT_TRANSMIT@GOTPCREL(%rip), %r13
	movq	_PXENV_UNDI_ISR_OUT_DONE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_bzero
	movq	_PXENV_UNDI_ISR_IN_GET_NEXT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_pxe_call
	cmpq	$0, 8(%rbx)
	jne	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_5
	jmp	LBB0_2
LBB0_6:
	movq	_PXENV_UNDI_ISR_OUT_RECEIVE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_7
LBB0_12:
	movq	16(%rbx), %rax
	movq	_ETHER_ALIGN@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addl	%eax, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.13:
	movslq	(%r15), %r13
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	%rax, %r13
	xorl	%r15d, %r15d
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	40(%rbx), %rax
	shlq	$4, %rax
	movslq	32(%rbx), %rdi
	addq	%rax, %rdi
	callq	_PTOV
	movq	24(%rbx), %rdx
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_bcopy
	movq	%r12, %r15
	movq	24(%rbx), %r12
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_bzero
	movq	_PXENV_UNDI_ISR_IN_GET_NEXT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%r15, %r14
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_pxe_call
	cmpq	$0, 8(%rbx)
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	addq	%r12, %r15
	addq	%r12, %r13
	movq	(%rbx), %rax
	movq	_PXENV_UNDI_ISR_OUT_RECEIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r14, %r12
	je	LBB0_14
LBB0_18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_bio_free
	movl	%r15d, %r14d
	jmp	LBB0_19
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%r15), %rax
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_bzero
	movq	_PXENV_UNDI_ISR_IN_GET_NEXT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_pxe_call
	movq	(%rbx), %rax
	cmpq	(%r13), %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_7
	jmp	LBB0_2
LBB0_16:
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_bio_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	$-1, %r14d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_PXENV_UNDI_ISR_IN_START,8,3    ## @PXENV_UNDI_ISR_IN_START
	.comm	_PXENV_UNDI_ISR,4,2             ## @PXENV_UNDI_ISR
	.comm	_PXENV_UNDI_ISR_IN_PROCESS,8,3  ## @PXENV_UNDI_ISR_IN_PROCESS
	.comm	_PXENV_UNDI_ISR_OUT_TRANSMIT,8,3 ## @PXENV_UNDI_ISR_OUT_TRANSMIT
	.comm	_PXENV_UNDI_ISR_IN_GET_NEXT,8,3 ## @PXENV_UNDI_ISR_IN_GET_NEXT
	.comm	_PXENV_UNDI_ISR_OUT_DONE,8,3    ## @PXENV_UNDI_ISR_OUT_DONE
	.comm	_PXENV_UNDI_ISR_OUT_RECEIVE,8,3 ## @PXENV_UNDI_ISR_OUT_RECEIVE
	.comm	_ETHER_ALIGN,4,2                ## @ETHER_ALIGN
	.no_dead_strip	_pxe_netif_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxe_netif_receive
_pxe_netif_receive:                     ; @pxe_netif_receive
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	mov	w0, #48
	bl	_bio_alloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	w1, #48
	bl	_bzero
Lloh0:
	adrp	x8, _PXENV_UNDI_ISR_IN_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PXENV_UNDI_ISR_IN_START@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh3:
	adrp	x24, _PXENV_UNDI_ISR@GOTPAGE
Lloh4:
	ldr	x24, [x24, _PXENV_UNDI_ISR@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	x1, x19
	bl	_pxe_call
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #48
	bl	_bzero
Lloh5:
	adrp	x8, _PXENV_UNDI_ISR_IN_PROCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PXENV_UNDI_ISR_IN_PROCESS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	w0, [x24]
	mov	x1, x19
	bl	_pxe_call
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
LBB0_3:
	mov	x0, x19
	mov	w1, #48
	bl	_bio_free
LBB0_4:
	mov	w21, #-1
LBB0_5:
	mov	x0, x21
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x19]
Lloh8:
	adrp	x22, _PXENV_UNDI_ISR_OUT_TRANSMIT@GOTPAGE
Lloh9:
	ldr	x22, [x22, _PXENV_UNDI_ISR_OUT_TRANSMIT@GOTPAGEOFF]
Lloh10:
	adrp	x25, _PXENV_UNDI_ISR_IN_GET_NEXT@GOTPAGE
Lloh11:
	ldr	x25, [x25, _PXENV_UNDI_ISR_IN_GET_NEXT@GOTPAGEOFF]
Lloh12:
	adrp	x21, _PXENV_UNDI_ISR_OUT_DONE@GOTPAGE
Lloh13:
	ldr	x21, [x21, _PXENV_UNDI_ISR_OUT_DONE@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	w1, #48
	bl	_bzero
	ldr	x8, [x25]
	str	x8, [x19]
	ldr	w0, [x24]
	mov	x1, x19
	bl	_pxe_call
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_7
	b	LBB0_3
LBB0_10:
Lloh14:
	adrp	x26, _PXENV_UNDI_ISR_OUT_RECEIVE@GOTPAGE
Lloh15:
	ldr	x26, [x26, _PXENV_UNDI_ISR_OUT_RECEIVE@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_17
LBB0_11:
	ldr	x27, [x19, #16]
Lloh16:
	adrp	x23, _ETHER_ALIGN@GOTPAGE
Lloh17:
	ldr	x23, [x23, _ETHER_ALIGN@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w0, w8, w27
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.12:
	mov	x22, x0
	mov	x21, #0
	ldrsw	x8, [x23]
	add	x23, x0, x8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	cmp	x21, x27
	b.hs	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x19, #40]
	ldrsw	x9, [x19, #32]
	add	x0, x9, x8, lsl #4
	bl	_PTOV
	ldr	x2, [x19, #24]
	mov	x1, x23
	bl	_bcopy
	ldr	x28, [x19, #24]
	mov	x0, x19
	mov	w1, #48
	bl	_bzero
	ldr	x8, [x25]
	str	x8, [x19]
	ldr	w0, [x24]
	mov	x1, x19
	bl	_pxe_call
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x21, x28, x21
	add	x23, x23, x28
	ldr	x8, [x19]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_13
LBB0_16:
	str	x22, [x20]
	mov	x0, x19
	mov	w1, #48
	bl	_bio_free
	b	LBB0_5
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	mov	w1, #48
	bl	_bzero
	ldr	x8, [x25]
	str	x8, [x19]
	ldr	w0, [x24]
	mov	x1, x19
	bl	_pxe_call
	ldr	x8, [x19]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_17
	b	LBB0_3
LBB0_20:
	mov	x0, x19
	mov	w1, #48
	bl	_bio_free
	mov	x0, x22
	bl	_free
	b	LBB0_4
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PXENV_UNDI_ISR_IN_START,8,3    ; @PXENV_UNDI_ISR_IN_START
	.comm	_PXENV_UNDI_ISR,4,2             ; @PXENV_UNDI_ISR
	.comm	_PXENV_UNDI_ISR_IN_PROCESS,8,3  ; @PXENV_UNDI_ISR_IN_PROCESS
	.comm	_PXENV_UNDI_ISR_OUT_TRANSMIT,8,3 ; @PXENV_UNDI_ISR_OUT_TRANSMIT
	.comm	_PXENV_UNDI_ISR_IN_GET_NEXT,8,3 ; @PXENV_UNDI_ISR_IN_GET_NEXT
	.comm	_PXENV_UNDI_ISR_OUT_DONE,8,3    ; @PXENV_UNDI_ISR_OUT_DONE
	.comm	_PXENV_UNDI_ISR_OUT_RECEIVE,8,3 ; @PXENV_UNDI_ISR_OUT_RECEIVE
	.comm	_ETHER_ALIGN,4,2                ; @ETHER_ALIGN
	.no_dead_strip	_pxe_netif_receive
.subsections_via_symbols
