	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_dtimexpiry_event        ## -- Begin function ath6kl_dtimexpiry_event
	.p2align	4, 0x90
_ath6kl_dtimexpiry_event:               ## @ath6kl_dtimexpiry_event
	.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	16(%rdi), %r12
	cmpl	$0, 12(%r12)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	leaq	4(%r12), %r13
	movq	%r13, %rdi
	callq	_spin_lock_bh
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_skb_queue_empty
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_spin_unlock_bh
	testl	%ebx, %ebx
	je	LBB0_2
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_DTIM_EXPIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_set_bit
	movq	%r13, %rdi
	callq	_spin_lock_bh
	movq	%r15, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_spin_unlock_bh
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	callq	_ath6kl_data_tx
	movq	%r13, %rdi
	callq	_spin_lock_bh
	movq	%r15, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movq	%r13, %rdi
	callq	_spin_unlock_bh
	movq	_DTIM_EXPIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_bit
	movl	(%r12), %edi
	movl	(%r14), %esi
	movq	_MCAST_AID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath6kl_wmi_set_pvb_cmd         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DTIM_EXPIRED,4,2               ## @DTIM_EXPIRED
	.comm	_MCAST_AID,4,2                  ## @MCAST_AID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_dtimexpiry_event        ; -- Begin function ath6kl_dtimexpiry_event
	.p2align	2
_ath6kl_dtimexpiry_event:               ; @ath6kl_dtimexpiry_event
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x24, [x0, #16]
	ldr	w8, [x24, #12]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	add	x20, x24, #4
	mov	x0, x20
	bl	_spin_lock_bh
	add	x21, x24, #8
	mov	x0, x21
	bl	_skb_queue_empty
	mov	x22, x0
	mov	x0, x20
	bl	_spin_unlock_bh
	cbz	w22, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh0:
	adrp	x25, _DTIM_EXPIRED@GOTPAGE
Lloh1:
	ldr	x25, [x25, _DTIM_EXPIRED@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x22, x19, #4
	mov	x1, x22
	bl	_set_bit
	mov	x0, x20
	bl	_spin_lock_bh
	mov	x0, x21
	bl	_skb_dequeue
	cbz	x0, LBB0_6
; %bb.4:
	mov	x23, x0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_spin_unlock_bh
	ldr	w1, [x19, #8]
	mov	x0, x23
	bl	_ath6kl_data_tx
	mov	x0, x20
	bl	_spin_lock_bh
	mov	x0, x21
	bl	_skb_dequeue
	mov	x23, x0
	cbnz	x0, LBB0_5
LBB0_6:
	mov	x0, x20
	bl	_spin_unlock_bh
	ldr	w0, [x25]
	mov	x1, x22
	bl	_clear_bit
	ldr	w0, [x24]
Lloh2:
	adrp	x8, _MCAST_AID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MCAST_AID@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh4:
	ldr	w2, [x8]
	mov	w3, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ath6kl_wmi_set_pvb_cmd
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DTIM_EXPIRED,4,2               ; @DTIM_EXPIRED
	.comm	_MCAST_AID,4,2                  ; @MCAST_AID
.subsections_via_symbols
