	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_rx_handler
_emac_rx_handler:                       ## @emac_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	%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
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_netif_running
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	testl	%r13d, %r13d
	js	LBB0_2
## %bb.5:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_eth_type_trans
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_netif_receive_skb
	addl	%r12d, (%r14)
	incl	4(%r14)
	movq	%r15, %rdi
	callq	_emac_rx_alloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:
	movq	%r15, %rdi
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	addq	$12, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_2:
	incl	8(%r14)
LBB0_3:
	movl	(%r15), %r14d
	movl	(%rbx), %r15d
	movq	%rbx, %rdi
	callq	_skb_tailroom
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_cpdma_chan_submit
	movl	%eax, %r14d
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	addl	%r14d, %eax
	sete	%dil
	callq	_WARN_ON
	shrl	$31, %r14d
	movl	%r14d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
LBB0_9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_any              ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed rx buffer alloc\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_emac_rx_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_rx_handler
_emac_rx_handler:                       ; @emac_rx_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
	mov	x0, x20
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x20
	bl	_netif_running
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_8
; %bb.1:
	tbnz	w23, #31, LBB0_6
; %bb.2:
	mov	x0, x19
	mov	x1, x22
	bl	_skb_put
	mov	x0, x19
	mov	x1, x20
	bl	_eth_type_trans
	str	w0, [x19, #4]
	mov	x0, x19
	bl	_netif_receive_skb
	ldr	d0, [x20]
	movi.2s	v1, #1
	mov.s	v1[0], w22
	add.2s	v0, v0, v1
	str	d0, [x20]
	mov	x0, x21
	bl	_emac_rx_alloc
	mov	x19, x0
	cbnz	x0, LBB0_7
; %bb.3:
	mov	x0, x21
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_9
; %bb.4:
	bl	_net_ratelimit
	cbz	x0, LBB0_9
; %bb.5:
	add	x0, x20, #12
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dev_err
LBB0_6:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_7:
	ldr	w20, [x21]
	ldr	w21, [x19]
	mov	x0, x19
	bl	_skb_tailroom
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	w4, #0
	bl	_cpdma_chan_submit
	mov	x20, x0
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, w8
	cset	w0, eq
	bl	_WARN_ON
	lsr	w0, w20, #31
	bl	_unlikely
	cbz	x0, LBB0_9
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dev_kfree_skb_any
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed rx buffer alloc\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_emac_rx_handler
.subsections_via_symbols
