	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_pci_prepare_bcn_tasklet
__rtl_pci_prepare_bcn_tasklet:          ## @_rtl_pci_prepare_bcn_tasklet
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	%rax, %r14
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, -44(%rbp)
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %r14
	movq	_BEACON_QUEUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	shlq	$5, %r15
	leaq	(%r14,%r15), %rbx
	leaq	(%r14,%r15), %rdi
	addq	$8, %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	___skb_dequeue
	movq	%rax, %r12
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%r13)
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rsi
	shlq	$2, %rsi
	addq	16(%r14,%r15), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rsi
	shlq	$2, %rsi
	addq	24(%r14,%r15), %rsi
LBB0_3:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_HW_DESC_TXBUFF_ADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r13, %rdi
	movl	$1, %edx
	callq	*16(%rax)
	movl	(%r12), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_pci_unmap_single
	movq	%r12, %rdi
	callq	_kfree_skb
LBB0_5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ieee80211_beacon_get
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_rtl_get_hdr
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	24(%r14,%r15), %r12
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 8(%rcx)
	je	LBB0_7
## %bb.8:
	movq	16(%r14,%r15), %r14
	jmp	LBB0_9
LBB0_7:
	xorl	%r14d, %r14d
LBB0_9:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rcx
	movq	(%rcx), %r10
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%rax, %r8
	xorl	%r9d, %r9d
	leaq	-72(%rbp), %rax
	pushq	%rax
	movq	_BEACON_QUEUE@GOTPCREL(%rip), %rax
	pushq	(%rax)
	pushq	%rbx
	callq	*8(%r10)
	addq	$32, %rsp
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	___skb_queue_tail
	cmpq	$0, 8(%r15)
	je	LBB0_11
## %bb.10:
	movl	$4, -44(%rbp)
	movq	%r14, %r12
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_HW_DESC_OWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-44(%rbp), %r8
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	*(%rax)
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BEACON_QUEUE,8,3               ## @BEACON_QUEUE
	.comm	_HW_DESC_TXBUFF_ADDR,4,2        ## @HW_DESC_TXBUFF_ADDR
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_HW_DESC_OWN,4,2                ## @HW_DESC_OWN
	.no_dead_strip	__rtl_pci_prepare_bcn_tasklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_pci_prepare_bcn_tasklet
__rtl_pci_prepare_bcn_tasklet:          ; @_rtl_pci_prepare_bcn_tasklet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	mov	x23, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x22, x0
	mov	w8, #1
	str	w8, [sp, #20]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x27, [x23, #8]
Lloh0:
	adrp	x26, _BEACON_QUEUE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _BEACON_QUEUE@GOTPAGEOFF]
	ldr	x28, [x26]
	add	x25, x27, x28, lsl #5
	add	x21, x25, #8
	mov	x0, x21
	bl	___skb_dequeue
	mov	x24, x0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x25, #16]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x25, #24]
LBB0_3:
	ldr	x9, [x25]
	add	x1, x8, x9, lsl #2
	cbz	x24, LBB0_5
; %bb.4:
	ldr	w23, [x23]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
Lloh2:
	adrp	x9, _HW_DESC_TXBUFF_ADDR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HW_DESC_TXBUFF_ADDR@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x9]
	mov	x0, x19
	mov	w2, #1
	blr	x8
	mov	x1, x0
	ldr	w2, [x24]
Lloh5:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x23
	bl	_pci_unmap_single
	mov	x0, x24
	bl	_kfree_skb
LBB0_5:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ieee80211_beacon_get
	cbz	x0, LBB0_12
; %bb.6:
	mov	x23, x0
	bl	_rtl_get_hdr
	mov	x25, x0
	mov	x0, x23
	bl	_IEEE80211_SKB_CB
	mov	x4, x0
	add	x8, x27, x28, lsl #5
	ldr	x22, [x8, #24]
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_8
; %bb.7:
	ldr	x24, [x8, #16]
	b	LBB0_9
LBB0_8:
	mov	x24, #0
LBB0_9:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	x7, [x26]
	add	x9, sp, #24
	str	x9, [sp]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x22
	mov	x3, x24
	mov	x5, #0
	mov	x6, x23
	blr	x8
	mov	x0, x21
	mov	x1, x23
	bl	___skb_queue_tail
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_11
; %bb.10:
	mov	w8, #4
	str	w8, [sp, #20]
	mov	x22, x24
LBB0_11:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _HW_DESC_OWN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HW_DESC_OWN@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x9]
	add	x4, sp, #20
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	blr	x8
LBB0_12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BEACON_QUEUE,8,3               ; @BEACON_QUEUE
	.comm	_HW_DESC_TXBUFF_ADDR,4,2        ; @HW_DESC_TXBUFF_ADDR
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_HW_DESC_OWN,4,2                ; @HW_DESC_OWN
	.no_dead_strip	__rtl_pci_prepare_bcn_tasklet
.subsections_via_symbols
