	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function airo_end_xmit
_airo_end_xmit:                         ## @airo_end_xmit
	.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	%rdi, %r15
	movq	8(%rdi), %rbx
	movq	(%rbx), %r12
	movq	32(%rbx), %r14
	movslq	24(%rbx), %r13
	movq	_JOB_XMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_clear_bit
	movq	_FLAG_PENDING_XMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %rsi
	callq	_clear_bit
	movl	(%r12,%r13,4), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_transmit_802_3_packet
	movq	%rax, %r12
	leaq	8(%rbx), %rdi
	callq	_up
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_5
## %bb.1:
	movq	%r15, %rdi
	callq	_netif_trans_update
	movq	_MAX_FIDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	cmpl	$1, %ecx
	jle	LBB0_6
## %bb.2:
	movq	(%rbx), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$65536, (%rdx,%rcx,4)           ## imm = 0x10000
	jb	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_3
	jmp	LBB0_9
LBB0_5:
	movq	(%rbx), %rax
	movzwl	(%rax,%r13,4), %ecx
	movl	%ecx, (%rax,%r13,4)
	incl	(%r15)
	movq	_MAX_FIDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
LBB0_6:
	xorl	%ecx, %ecx
LBB0_7:
	cmpl	%eax, %ecx
	jge	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_netif_wake_queue
LBB0_9:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_JOB_XMIT,4,2                   ## @JOB_XMIT
	.comm	_FLAG_PENDING_XMIT,4,2          ## @FLAG_PENDING_XMIT
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_MAX_FIDS,4,2                   ## @MAX_FIDS
	.no_dead_strip	_airo_end_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function airo_end_xmit
_airo_end_xmit:                         ; @airo_end_xmit
	.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	x20, x0
	ldr	x21, [x0, #8]
	ldr	x19, [x21, #32]
	ldrsw	x23, [x21, #24]
	ldr	x22, [x21]
Lloh0:
	adrp	x8, _JOB_XMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JOB_XMIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #16
	bl	_clear_bit
Lloh3:
	adrp	x8, _FLAG_PENDING_XMIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLAG_PENDING_XMIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x21, #12
	bl	_clear_bit
	ldr	w1, [x22, x23, lsl #2]
	ldr	w2, [x19]
	mov	x0, x21
	bl	_transmit_802_3_packet
	mov	x22, x0
	add	x0, x21, #8
	bl	_up
Lloh6:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_netif_trans_update
Lloh9:
	adrp	x8, _MAX_FIDS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_FIDS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w9, w9, #1
	cmp	w8, #1
	b.le	LBB0_9
; %bb.2:
	mov	x8, #0
	ldr	x10, [x21]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x8, lsl #2]
	cmp	w11, #16, lsl #12               ; =65536
	b.lo	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_3
	b	LBB0_8
LBB0_5:
	mov	w8, #0
	ldr	x9, [x21]
	lsl	x10, x23, #2
	ldrh	w11, [x9, x10]
	str	w11, [x9, x10]
	ldr	w9, [x20]
	add	w9, w9, #1
	str	w9, [x20]
Lloh12:
	adrp	x9, _MAX_FIDS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MAX_FIDS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
LBB0_6:
	cmp	w8, w9
	b.ge	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_netif_wake_queue
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
LBB0_9:
	mov	w8, #0
	cmp	w8, w9
	b.lt	LBB0_7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_JOB_XMIT,4,2                   ; @JOB_XMIT
	.comm	_FLAG_PENDING_XMIT,4,2          ; @FLAG_PENDING_XMIT
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_MAX_FIDS,4,2                   ; @MAX_FIDS
	.no_dead_strip	_airo_end_xmit
.subsections_via_symbols
