	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_get_buffered_bc      ## -- Begin function ieee80211_get_buffered_bc
	.p2align	4, 0x90
_ieee80211_get_buffered_bc:             ## @ieee80211_get_buffered_bc
	.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, %rbx
	callq	_hw_to_local
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_vif_to_sdata
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	8(%rbx), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_24
## %bb.1:
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.2:
	movl	48(%rbx), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_18
## %bb.3:
	cmpl	$0, (%rax)
	je	LBB0_18
## %bb.4:
	movq	%rbx, %r13
	addq	$32, %r13
	cmpq	$0, (%r13)
	jne	LBB0_18
	jmp	LBB0_5
LBB0_15:
	movq	%rbx, %rdi
	callq	_ieee80211_vif_is_mesh
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	%rbx, %r13
	addq	$16, %r13
	cmpq	$0, (%r13)
	jne	LBB0_18
LBB0_5:
	cmpl	$0, 12(%r13)
	je	LBB0_18
## %bb.6:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_18
## %bb.7:
	movq	%rax, %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	decl	(%rax)
	movq	%r13, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$2, (%r14)
	jl	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_FCTL_MOREDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rax
	movq	_NL80211_IFTYPE_AP_VLAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	4(%r14), %edi
	callq	_IEEE80211_DEV_TO_SUB_IF
	movq	%rax, %rbx
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdx
	callq	_ieee80211_tx_prepare
	testl	%eax, %eax
	je	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_dev_kfree_skb_any
	movq	%r13, %rdi
	callq	_skb_dequeue
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_24
LBB0_18:
	xorl	%r12d, %r12d
LBB0_24:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r14, %rdi
	callq	_IEEE80211_SKB_CB
	movq	_IEEE80211_TX_PS_BUFFERED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, -48(%rbp)
	movq	(%r15), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	leaq	-48(%rbp), %rdi
	callq	_invoke_tx_handlers
	xorl	%r12d, %r12d
	testq	%rax, %rax
	cmoveq	%r14, %r12
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_IEEE80211_FCTL_MOREDATA,4,2    ## @IEEE80211_FCTL_MOREDATA
	.comm	_NL80211_IFTYPE_AP_VLAN,8,3     ## @NL80211_IFTYPE_AP_VLAN
	.comm	_IEEE80211_TX_PS_BUFFERED,4,2   ## @IEEE80211_TX_PS_BUFFERED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_get_buffered_bc      ; -- Begin function ieee80211_get_buffered_bc
	.p2align	2
_ieee80211_get_buffered_bc:             ; @ieee80211_get_buffered_bc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	bl	_hw_to_local
	mov	x19, x0
	mov	x0, x20
	bl	_vif_to_sdata
	mov	x21, x0
	bl	_rcu_read_lock
	ldr	w0, [x21, #8]
	bl	_rcu_dereference
	cbz	x0, LBB0_17
; %bb.1:
	mov	x20, x0
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	w0, [x21, #48]
	bl	_rcu_dereference
	cbz	x0, LBB0_17
; %bb.3:
	ldr	w8, [x0]
	cbz	w8, LBB0_17
; %bb.4:
	add	x8, x21, #32
	ldr	x9, [x8]
	cbnz	x9, LBB0_17
	b	LBB0_7
LBB0_5:
	mov	x0, x21
	bl	_ieee80211_vif_is_mesh
	cbz	x0, LBB0_17
; %bb.6:
	add	x8, x21, #16
	ldr	x9, [x8]
	cbnz	x9, LBB0_17
LBB0_7:
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_17
; %bb.8:
	add	x23, x8, #8
	mov	x0, x23
	bl	_skb_dequeue
	cbz	x0, LBB0_17
; %bb.9:
	mov	x22, x0
Lloh3:
	adrp	x25, _IEEE80211_FCTL_MOREDATA@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IEEE80211_FCTL_MOREDATA@GOTPAGEOFF]
Lloh5:
	adrp	x26, _NL80211_IFTYPE_AP_VLAN@GOTPAGE
Lloh6:
	ldr	x26, [x26, _NL80211_IFTYPE_AP_VLAN@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	mov	x0, x23
	bl	_skb_queue_empty
	cbnz	w0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x24, [x22, #8]
	ldr	w0, [x25]
	bl	_cpu_to_le16
	ldr	w8, [x24]
	orr	w8, w8, w0
	str	w8, [x24]
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x22, #4]
	bl	_IEEE80211_DEV_TO_SUB_IF
	mov	x21, x0
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x22
	bl	_ieee80211_tx_prepare
	cbz	w0, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	bl	_dev_kfree_skb_any
	mov	x0, x23
	bl	_skb_dequeue
	mov	x22, x0
	mov	x24, #0
	cbnz	x0, LBB0_10
	b	LBB0_18
LBB0_17:
	mov	x24, #0
LBB0_18:
	bl	_rcu_read_unlock
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_19:
	mov	x0, x22
	bl	_IEEE80211_SKB_CB
Lloh7:
	adrp	x8, _IEEE80211_TX_PS_BUFFERED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IEEE80211_TX_PS_BUFFERED@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
	ldr	x8, [x20]
	ldr	w8, [x8]
	str	w8, [x0]
	add	x0, sp, #8
	bl	_invoke_tx_handlers
	cmp	x0, #0
	csel	x24, x22, xzr, eq
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_IEEE80211_FCTL_MOREDATA,4,2    ; @IEEE80211_FCTL_MOREDATA
	.comm	_NL80211_IFTYPE_AP_VLAN,8,3     ; @NL80211_IFTYPE_AP_VLAN
	.comm	_IEEE80211_TX_PS_BUFFERED,4,2   ; @IEEE80211_TX_PS_BUFFERED
.subsections_via_symbols
