	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i596_rx_one
_i596_rx_one:                           ## @i596_rx_one
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rdi, %r15
	movl	(%rdx), %eax
	movq	_RFD_STAT_OK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.1:
	movl	$16383, %ebx                    ## imm = 0x3FFF
	andl	4(%r14), %ebx
	movl	%ebx, %edi
	callq	_dev_alloc_skb
	movq	%rax, %r12
	incl	(%r13)
	movq	_CMD_EOL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_3:
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_skb_put
	movl	12(%r14), %esi
	movl	%eax, %edi
	movl	%ebx, %edx
	callq	_memcpy
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_eth_type_trans
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_netif_rx
	addq	$32, %r15
	jmp	LBB0_20
LBB0_6:
	incl	28(%r15)
	movq	_RFD_COLLISION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	incl	24(%r15)
LBB0_8:
	leaq	4(%r15), %rcx
	movq	_RFD_SHORT_FRAME_ERR@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_10
## %bb.9:
	incl	(%rcx)
LBB0_10:
	movq	_RFD_DMA_ERR@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_12
## %bb.11:
	incl	20(%r15)
LBB0_12:
	movq	_RFD_NOBUFS_ERR@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_14
## %bb.13:
	incl	16(%r15)
LBB0_14:
	movq	_RFD_ALIGN_ERR@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_16
## %bb.15:
	incl	12(%r15)
LBB0_16:
	movq	_RFD_CRC_ERR@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_18
## %bb.17:
	incl	8(%r15)
LBB0_18:
	movq	_RFD_LENGTH_ERR@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_21
## %bb.19:
	movq	%rcx, %r15
LBB0_20:
	incl	(%r15)
LBB0_21:
	movq	$0, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_5:
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	incl	36(%r15)
	movl	$1, %eax
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFD_STAT_OK,4,2                ## @RFD_STAT_OK
	.comm	_CMD_EOL,4,2                    ## @CMD_EOL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received on EOL\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: i596_rx Memory squeeze, dropping packet.\n"

	.comm	_RFD_COLLISION,4,2              ## @RFD_COLLISION
	.comm	_RFD_SHORT_FRAME_ERR,4,2        ## @RFD_SHORT_FRAME_ERR
	.comm	_RFD_DMA_ERR,4,2                ## @RFD_DMA_ERR
	.comm	_RFD_NOBUFS_ERR,4,2             ## @RFD_NOBUFS_ERR
	.comm	_RFD_ALIGN_ERR,4,2              ## @RFD_ALIGN_ERR
	.comm	_RFD_CRC_ERR,4,2                ## @RFD_CRC_ERR
	.comm	_RFD_LENGTH_ERR,4,2             ## @RFD_LENGTH_ERR
	.no_dead_strip	_i596_rx_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i596_rx_one
_i596_rx_one:                           ; @i596_rx_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x0
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _RFD_STAT_OK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RFD_STAT_OK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x23, x3
	ldr	w8, [x19, #4]
	and	w22, w8, #0x3fff
	mov	x0, x22
	bl	_dev_alloc_skb
	mov	x21, x0
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _CMD_EOL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CMD_EOL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_3:
	cbz	x21, LBB0_20
; %bb.4:
	mov	x0, x21
	mov	x1, x22
	bl	_skb_put
	ldr	w1, [x19, #12]
	mov	x2, x22
	bl	_memcpy
	mov	x0, x21
	mov	x1, x20
	bl	_eth_type_trans
	str	w0, [x21]
	mov	x0, x21
	bl	_netif_rx
	add	x9, x20, #32
	b	LBB0_18
LBB0_5:
	ldr	w9, [x20, #28]
	add	w9, w9, #1
	str	w9, [x20, #28]
Lloh8:
	adrp	x9, _RFD_COLLISION@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RFD_COLLISION@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	w9, [x20, #24]
	add	w9, w9, #1
	str	w9, [x20, #24]
LBB0_7:
	add	x9, x20, #4
Lloh11:
	adrp	x10, _RFD_SHORT_FRAME_ERR@GOTPAGE
Lloh12:
	ldr	x10, [x10, _RFD_SHORT_FRAME_ERR@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
LBB0_9:
Lloh14:
	adrp	x10, _RFD_DMA_ERR@GOTPAGE
Lloh15:
	ldr	x10, [x10, _RFD_DMA_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	w10, [x20, #20]
	add	w10, w10, #1
	str	w10, [x20, #20]
LBB0_11:
Lloh17:
	adrp	x10, _RFD_NOBUFS_ERR@GOTPAGE
Lloh18:
	ldr	x10, [x10, _RFD_NOBUFS_ERR@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_13
; %bb.12:
	ldr	w10, [x20, #16]
	add	w10, w10, #1
	str	w10, [x20, #16]
LBB0_13:
Lloh20:
	adrp	x10, _RFD_ALIGN_ERR@GOTPAGE
Lloh21:
	ldr	x10, [x10, _RFD_ALIGN_ERR@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_15
; %bb.14:
	ldr	w10, [x20, #12]
	add	w10, w10, #1
	str	w10, [x20, #12]
LBB0_15:
Lloh23:
	adrp	x10, _RFD_CRC_ERR@GOTPAGE
Lloh24:
	ldr	x10, [x10, _RFD_CRC_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_17
; %bb.16:
	ldr	w10, [x20, #8]
	add	w10, w10, #1
	str	w10, [x20, #8]
LBB0_17:
Lloh26:
	adrp	x10, _RFD_LENGTH_ERR@GOTPAGE
Lloh27:
	ldr	x10, [x10, _RFD_LENGTH_ERR@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_19
LBB0_18:
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
LBB0_19:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_21
LBB0_20:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
	ldr	w8, [x20, #36]
	add	w8, w8, #1
	str	w8, [x20, #36]
	mov	w0, #1
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_RFD_STAT_OK,4,2                ; @RFD_STAT_OK
	.comm	_CMD_EOL,4,2                    ; @CMD_EOL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received on EOL\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: i596_rx Memory squeeze, dropping packet.\n"

	.comm	_RFD_COLLISION,4,2              ; @RFD_COLLISION
	.comm	_RFD_SHORT_FRAME_ERR,4,2        ; @RFD_SHORT_FRAME_ERR
	.comm	_RFD_DMA_ERR,4,2                ; @RFD_DMA_ERR
	.comm	_RFD_NOBUFS_ERR,4,2             ; @RFD_NOBUFS_ERR
	.comm	_RFD_ALIGN_ERR,4,2              ; @RFD_ALIGN_ERR
	.comm	_RFD_CRC_ERR,4,2                ; @RFD_CRC_ERR
	.comm	_RFD_LENGTH_ERR,4,2             ; @RFD_LENGTH_ERR
	.no_dead_strip	_i596_rx_one
.subsections_via_symbols
