	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qmimux_rx_fixup
_qmimux_rx_fixup:                       ## @qmimux_rx_fixup
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$13, (%rsi)
	jb	LBB0_14
## %bb.1:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	$12, %r14d
	xorl	%r15d, %r15d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	12(%r15), %r14d
	cmpl	(%rsi), %r14d
	jae	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi), %r12
	movl	%r15d, %r13d
	movl	8(%r12,%r13,4), %edi
	callq	_be16_to_cpu
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %ebx
	addl	%ebx, %r15d
	addl	$12, %r15d
	cmpl	(%rsi), %r15d
	ja	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12,%r13,4), %eax
	testb	$-128, %al
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	andl	$63, %eax
	subl	%eax, %ebx
	jbe	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12,%r13,4), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_qmimux_find_dev
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, 24(%rax)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rsi), %rdx
	movl	%r14d, %ecx
	movzbl	(%rdx,%rcx,4), %edx
	andb	$-16, %dl
	movq	_ETH_P_IP@GOTPCREL(%rip), %rcx
	cmpb	$64, %dl
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$96, %dl
	jne	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rcx
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movl	(%rcx), %edi
	callq	_htons
	movq	%rax, 16(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	leaq	(%rax,%r13,4), %rsi
	addq	$48, %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_skb_put_data
	movq	%r14, %rdi
	callq	_netif_rx
	movq	_NET_RX_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_netdev_priv
	movl	(%rax), %edi
	callq	_this_cpu_ptr
	movq	%rax, %r14
	leaq	4(%rax), %r13
	movq	%r13, %rdi
	callq	_u64_stats_update_begin
	incl	8(%r14)
	addl	%ebx, (%r14)
	movq	%r13, %rdi
	callq	_u64_stats_update_end
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_14:
	movl	$1, %eax
	jmp	LBB0_16
LBB0_18:
	incl	(%r12)
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_NET_RX_SUCCESS,8,3             ## @NET_RX_SUCCESS
	.no_dead_strip	_qmimux_rx_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qmimux_rx_fixup
_qmimux_rx_fixup:                       ; @qmimux_rx_fixup
	.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
	ldr	w8, [x1]
	cmp	w8, #13
	b.lo	LBB0_14
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w28, #0
	mov	w24, #12
Lloh0:
	adrp	x25, _NET_RX_SUCCESS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NET_RX_SUCCESS@GOTPAGEOFF]
Lloh2:
	adrp	x26, _ETH_P_IPV6@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ETH_P_IPV6@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w27, #12
	ldr	w8, [x19]
	mov	x28, x27
	cmp	w24, w8
	b.hs	LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x22, x8, w28, uxtw #2
	ldr	w0, [x22, #8]
	bl	_be16_to_cpu
	add	w8, w28, w0
	add	w27, w8, #12
	ldr	w8, [x19]
	cmp	w27, w8
	b.hi	LBB0_15
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	tbnz	w8, #7, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	and	w23, w8, #0x3f
	cmp	w0, #0
	ccmp	w0, w23, #0, ne
	b.ls	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x22, #4]
	mov	x0, x20
	bl	_qmimux_find_dev
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	sub	w21, w21, w23
	mov	x1, x21
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	str	x22, [x0, #24]
	ldr	x8, [x19, #8]
	ldr	w8, [x8, w24, uxtw #2]
	and	w8, w8, #0xf0
	cmp	w8, #64
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #96
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x26
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh4:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, w28
	ldr	w0, [x8]
	bl	_htons
	str	x0, [x23, #16]
	ldr	x8, [x19, #8]
	add	x8, x8, x24, lsl #2
	add	x1, x8, #48
	mov	x0, x23
	mov	x2, x21
	bl	_skb_put_data
	mov	x0, x23
	bl	_netif_rx
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_netdev_priv
	ldr	w0, [x0]
	bl	_this_cpu_ptr
	mov	x22, x0
	add	x23, x0, #4
	mov	x0, x23
	bl	_u64_stats_update_begin
	ldr	w8, [x22, #8]
	add	w8, w8, #1
	str	w8, [x22, #8]
	ldr	w8, [x22]
	add	w8, w8, w21
	str	w8, [x22]
	mov	x0, x23
	bl	_u64_stats_update_end
	b	LBB0_2
LBB0_14:
	mov	w0, #1
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	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_17:
	mov	w0, #0
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	b	LBB0_16
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_NET_RX_SUCCESS,8,3             ; @NET_RX_SUCCESS
	.no_dead_strip	_qmimux_rx_fixup
.subsections_via_symbols
