	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rx_complete
_rx_complete:                           ## @rx_complete
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	12(%rsi), %edi
	callq	_bus_to_virt
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	callq	_be16_to_cpu
	movq	%rax, %r15
	movl	4(%rbx), %edi
	callq	_be16_to_cpu
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_be16_to_cpu
	movq	%rax, %r13
	movq	_DBG_FLOW@GOTPCREL(%rip), %rax
	movq	_DBG_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_PRINTD
	testq	%r12, %r12
	je	LBB0_1
## %bb.7:
	incl	16(%r14)
	movq	_CRC_ERR@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_9
## %bb.8:
	incl	12(%r14)
LBB0_9:
	movq	_LEN_ERR@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	incl	8(%r14)
LBB0_11:
	movq	_ABORT_ERR@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_13
## %bb.12:
	incl	4(%r14)
LBB0_13:
	movq	_UNUSED_ERR@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_15
## %bb.14:
	incl	(%r14)
	jmp	LBB0_15
LBB0_1:
	movq	24(%r14), %rax
	movq	(%rax,%r15,8), %r12
	incl	20(%r14)
	testq	%r12, %r12
	movq	%r15, %rbx
	je	LBB0_6
## %bb.2:
	cmpq	16(%r12), %r13
	jbe	LBB0_3
## %bb.5:
	movq	_KERN_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_PRINTK
	movq	(%r12), %rdi
	callq	_atomic_inc
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_6:
	movq	_DBG_WARN@GOTPCREL(%rip), %rax
	movq	_DBG_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_PRINTD
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_3:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_atm_charge
	testq	%rax, %rax
	je	LBB0_4
## %bb.16:
	movq	%r15, %rdi
	callq	_ATM_SKB
	movq	%r12, (%rax)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_skb_put
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_dump_skb
	movq	(%r12), %rdi
	addq	$4, %rdi
	callq	_atomic_inc
	movq	%r15, %rdi
	callq	___net_timestamp
	movq	8(%r12), %rax
	movq	%r12, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_4:
	movq	_DBG_INFO@GOTPCREL(%rip), %rax
	movq	_DBG_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movl	(%r15), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_PRINTD
LBB0_15:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_any              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DBG_FLOW,4,2                   ## @DBG_FLOW
	.comm	_DBG_RX,4,2                     ## @DBG_RX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx_complete %p %p (len=%hu)"

L_.str.1:                               ## @.str.1
	.asciz	"<<<"

	.comm	_DBG_INFO,4,2                   ## @DBG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"dropped thanks to atm_charge (vc %hu, truesize %u)"

	.comm	_KERN_INFO,4,2                  ## @KERN_INFO
L_.str.3:                               ## @.str.3
	.asciz	"dropped over-size frame"

	.comm	_DBG_WARN,4,2                   ## @DBG_WARN
L_.str.4:                               ## @.str.4
	.asciz	"got frame but RX closed for channel %hu"

	.comm	_CRC_ERR,8,3                    ## @CRC_ERR
	.comm	_LEN_ERR,8,3                    ## @LEN_ERR
	.comm	_ABORT_ERR,8,3                  ## @ABORT_ERR
	.comm	_UNUSED_ERR,8,3                 ## @UNUSED_ERR
	.no_dead_strip	_rx_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rx_complete
_rx_complete:                           ; @rx_complete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x24, x1
	mov	x20, x0
	ldr	w0, [x1, #12]
	bl	_bus_to_virt
	mov	x19, x0
	ldr	w0, [x24, #8]
	bl	_be16_to_cpu
	mov	x21, x0
	ldr	w0, [x24, #4]
	bl	_be16_to_cpu
	mov	x22, x0
	ldr	w0, [x24]
	bl	_be16_to_cpu
	mov	x23, x0
Lloh0:
	adrp	x8, _DBG_FLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBG_FLOW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x25, _DBG_RX@GOTPAGE
Lloh4:
	ldr	x25, [x25, _DBG_RX@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w0, w9, w8
	stp	x24, x23, [sp, #8]
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PRINTD
	cbz	x22, LBB0_9
; %bb.1:
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
Lloh7:
	adrp	x8, _CRC_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CRC_ERR@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	tst	x8, x22
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
LBB0_3:
Lloh10:
	adrp	x8, _LEN_ERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LEN_ERR@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	tst	x8, x22
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_5:
Lloh13:
	adrp	x8, _ABORT_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ABORT_ERR@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	tst	x8, x22
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
LBB0_7:
Lloh16:
	adrp	x8, _UNUSED_ERR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UNUSED_ERR@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	tst	x8, x22
	b.eq	LBB0_17
; %bb.8:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_17
LBB0_9:
	ldr	x8, [x20, #24]
	ldr	x22, [x8, x21, lsl #3]
	ldr	w8, [x20, #20]
	add	w8, w8, #1
	str	w8, [x20, #20]
	cbz	x22, LBB0_12
; %bb.10:
	ldr	x8, [x22, #16]
	cmp	x23, x8
	b.ls	LBB0_13
; %bb.11:
Lloh19:
	adrp	x8, _KERN_INFO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _KERN_INFO@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_PRINTK
	ldr	x0, [x22]
	bl	_atomic_inc
	b	LBB0_17
LBB0_12:
Lloh24:
	adrp	x8, _DBG_WARN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DBG_WARN@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x25]
	orr	w0, w9, w8
	str	x21, [sp]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_13:
	ldr	w1, [x19]
	mov	x0, x22
	bl	_atm_charge
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_ATM_SKB
	str	x22, [x0]
	mov	x0, x19
	mov	x1, x23
	bl	_skb_put
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x19
	bl	_dump_skb
	ldr	x8, [x22]
	add	x0, x8, #4
	bl	_atomic_inc
	mov	x0, x19
	bl	___net_timestamp
	ldr	x2, [x22, #8]
	mov	x0, x22
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	br	x2
LBB0_15:
Lloh31:
	adrp	x8, _DBG_INFO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DBG_INFO@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldr	w9, [x25]
	orr	w0, w9, w8
	ldr	w8, [x19]
	stp	x21, x8, [sp]
Lloh34:
	adrp	x1, l_.str.2@PAGE
Lloh35:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_16:
	bl	_PRINTD
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dev_kfree_skb_any
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_DBG_FLOW,4,2                   ; @DBG_FLOW
	.comm	_DBG_RX,4,2                     ; @DBG_RX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx_complete %p %p (len=%hu)"

l_.str.1:                               ; @.str.1
	.asciz	"<<<"

	.comm	_DBG_INFO,4,2                   ; @DBG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"dropped thanks to atm_charge (vc %hu, truesize %u)"

	.comm	_KERN_INFO,4,2                  ; @KERN_INFO
l_.str.3:                               ; @.str.3
	.asciz	"dropped over-size frame"

	.comm	_DBG_WARN,4,2                   ; @DBG_WARN
l_.str.4:                               ; @.str.4
	.asciz	"got frame but RX closed for channel %hu"

	.comm	_CRC_ERR,8,3                    ; @CRC_ERR
	.comm	_LEN_ERR,8,3                    ; @LEN_ERR
	.comm	_ABORT_ERR,8,3                  ; @ABORT_ERR
	.comm	_UNUSED_ERR,8,3                 ; @UNUSED_ERR
	.no_dead_strip	_rx_complete
.subsections_via_symbols
