	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xemaclite_rx_handler
_xemaclite_rx_handler:                  ## @xemaclite_rx_handler
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	_ETH_FRAME_LEN@GOTPCREL(%rip), %rcx
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r15
	addq	(%rcx), %r15
	movq	%rax, %r12
	movq	_ALIGNMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	movq	%r14, %rdi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_BUFFER_ALIGN
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_reserve
LBB0_3:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	movq	8(%rbx), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_xemaclite_recv_data
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_skb_put
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_eth_type_trans
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_skb_checksum_none_assert
	incl	4(%r14)
	addl	%r15d, (%r14)
	movq	%rbx, %rdi
	callq	_skb_defer_rx_timestamp
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	incl	12(%r14)
	movq	(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_7:
	incl	8(%r14)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_irq              ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_rx                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_FRAME_LEN,8,3              ## @ETH_FRAME_LEN
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.comm	_ALIGNMENT,8,3                  ## @ALIGNMENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not allocate receive buffer\n"

	.no_dead_strip	_xemaclite_rx_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xemaclite_rx_handler
_xemaclite_rx_handler:                  ; @xemaclite_rx_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _ETH_FRAME_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_FRAME_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ETH_FCS_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _ALIGNMENT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ALIGNMENT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x22, x9, x8
	add	x1, x22, x10
	mov	x0, x19
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x0, [x0, #8]
	bl	_BUFFER_ALIGN
	cbz	w0, LBB0_3
; %bb.2:
	mov	x1, x0
	mov	x0, x20
	bl	_skb_reserve
LBB0_3:
	mov	x0, x20
	mov	w1, #2
	bl	_skb_reserve
	ldr	x1, [x20, #8]
	mov	x0, x21
	mov	x2, x22
	bl	_xemaclite_recv_data
	cbz	x0, LBB0_7
; %bb.4:
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_skb_put
	mov	x0, x20
	mov	x1, x19
	bl	_eth_type_trans
	str	w0, [x20]
	mov	x0, x20
	bl	_skb_checksum_none_assert
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w21
	add.2s	v0, v0, v1
	str	d0, [x19]
	mov	x0, x20
	bl	_skb_defer_rx_timestamp
	cbz	w0, LBB0_8
; %bb.5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	ldr	x0, [x21]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_err
LBB0_7:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_kfree_skb_irq
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netif_rx
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_FRAME_LEN,8,3              ; @ETH_FRAME_LEN
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.comm	_ALIGNMENT,8,3                  ; @ALIGNMENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not allocate receive buffer\n"

	.no_dead_strip	_xemaclite_rx_handler
.subsections_via_symbols
