	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_skb_queue_head
_wl1271_skb_queue_head:                 ## @wl1271_skb_queue_head
	.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	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_skb_get_queue_mapping
	movl	%eax, %edi
	callq	_wl1271_tx_get_queue
	movl	%eax, %r13d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_wl12xx_is_dummy_packet
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_WL1271_FLAG_DUMMY_PACKET_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r12), %rsi
	callq	_set_bit
	movslq	%r13d, %r13
	jmp	LBB0_6
LBB0_2:
	movq	24(%r12), %rax
	movslq	%r13d, %r13
	leaq	(,%r13,4), %rdi
	addq	(%rax,%r15,8), %rdi
	movq	%rbx, %rsi
	callq	_skb_queue_head
	movq	(%r12), %rcx
	leaq	(%r15,%rcx), %rax
	decq	%rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_5
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_5:
	movq	%rdx, (%r14)
LBB0_6:
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	16(%r12), %rax
	incl	(%rax,%r13,4)
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movq	8(%r14), %rax
	incl	(%rax,%r13,4)
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WL1271_FLAG_DUMMY_PACKET_PENDING,4,2 ## @WL1271_FLAG_DUMMY_PACKET_PENDING
	.no_dead_strip	_wl1271_skb_queue_head
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1271_skb_queue_head
_wl1271_skb_queue_head:                 ; @wl1271_skb_queue_head
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_skb_get_queue_mapping
	bl	_wl1271_tx_get_queue
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_wl12xx_is_dummy_packet
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _WL1271_FLAG_DUMMY_PACKET_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WL1271_FLAG_DUMMY_PACKET_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #32
	bl	_set_bit
	sxtw	x24, w23
	b	LBB0_3
LBB0_2:
	ldr	x8, [x20, #24]
	ldr	x8, [x8, x21, lsl #3]
	mov	x9, x23
	sxtw	x24, w9
	add	x0, x8, w23, sxtw #2
	mov	x1, x22
	bl	_skb_queue_head
	ldr	x8, [x20]
	add	x9, x21, x8
	sub	x9, x9, #1
	udiv	x10, x9, x8
	msub	x8, x10, x8, x9
	str	x8, [x19]
LBB0_3:
	add	x21, x20, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x9, [x20, #16]
	lsl	x8, x24, #2
	ldr	w10, [x9, x8]
	add	w10, w10, #1
	str	w10, [x9, x8]
	cbz	x19, LBB0_5
; %bb.4:
	ldr	x9, [x19, #8]
	ldr	w10, [x9, x8]
	add	w10, w10, #1
	str	w10, [x9, x8]
LBB0_5:
	mov	x0, x21
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WL1271_FLAG_DUMMY_PACKET_PENDING,4,2 ; @WL1271_FLAG_DUMMY_PACKET_PENDING
	.no_dead_strip	_wl1271_skb_queue_head
.subsections_via_symbols
