	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92s_cmd_send_packet
__rtl92s_cmd_send_packet:               ## @_rtl92s_cmd_send_packet
	.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
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	(%rax), %r12
	movq	_TXCMD_QUEUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	shlq	$5, %r14
	movq	(%r12,%r14), %r15
	leaq	(%r12,%r14), %rdi
	addq	$16, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_skb_queue_len
	addq	%r15, %rax
	movq	8(%r12,%r14), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	shlq	$2, %rdx
	addq	24(%r12,%r14), %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%r13, %rdi
	movq	%rdx, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	*(%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	___skb_queue_tail
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXCMD_QUEUE,8,3                ## @TXCMD_QUEUE
	.no_dead_strip	__rtl92s_cmd_send_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92s_cmd_send_packet
__rtl92s_cmd_send_packet:               ; @_rtl92s_cmd_send_packet
	.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	x19, x1
	mov	x20, x0
	bl	_rtl_priv
	mov	x21, x0
	mov	x0, x20
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _TXCMD_QUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXCMD_QUEUE@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	x0, x21
	bl	_spin_lock_irqsave
	add	x23, x22, x23, lsl #5
	ldr	x24, [x23]
	add	x22, x23, #16
	mov	x0, x22
	bl	_skb_queue_len
	add	x8, x0, x24
	ldr	x9, [x23, #8]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	ldr	x9, [x23, #24]
	add	x1, x9, x8, lsl #2
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x20
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	blr	x8
	mov	x0, x22
	mov	x1, x19
	bl	___skb_queue_tail
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	w0, #1
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TXCMD_QUEUE,8,3                ; @TXCMD_QUEUE
	.no_dead_strip	__rtl92s_cmd_send_packet
.subsections_via_symbols
