	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_enqueue_buffered_bc    ## -- Begin function mt76x02_enqueue_buffered_bc
	.p2align	4, 0x90
_mt76x02_enqueue_buffered_bc:           ## @mt76x02_enqueue_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rdi, 16(%rsi)
	leaq	8(%rsi), %r13
	movq	%r13, %rdi
	callq	___skb_queue_head_init
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_skb_queue_len
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mt76_hw
	movq	_IEEE80211_IFACE_ITER_RESUME_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_mt76x02_add_buffered_bc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	%r15, %rcx
	callq	_ieee80211_iterate_active_interfaces_atomic
	movq	%r13, %rdi
	callq	_skb_queue_len
	cmpl	%eax, %ebx
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_skb_queue_len
	cmpl	%r14d, %eax
	jl	LBB0_1
LBB0_3:
	movq	%r13, %rdi
	callq	_skb_queue_len
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movl	(%rdi,%rbx,4), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_mt76_skb_set_moredata
	movq	(%r15), %rdi
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_IFACE_ITER_RESUME_ALL,4,2 ## @IEEE80211_IFACE_ITER_RESUME_ALL
	.comm	_mt76x02_add_buffered_bc,4,2    ## @mt76x02_add_buffered_bc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_enqueue_buffered_bc    ; -- Begin function mt76x02_enqueue_buffered_bc
	.p2align	2
_mt76x02_enqueue_buffered_bc:           ; @mt76x02_enqueue_buffered_bc
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	str	x0, [x1, #16]
	add	x21, x1, #8
	mov	x0, x21
	bl	___skb_queue_head_init
Lloh0:
	adrp	x24, _IEEE80211_IFACE_ITER_RESUME_ALL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IEEE80211_IFACE_ITER_RESUME_ALL@GOTPAGEOFF]
Lloh2:
	adrp	x25, _mt76x02_add_buffered_bc@GOTPAGE
Lloh3:
	ldr	x25, [x25, _mt76x02_add_buffered_bc@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_skb_queue_len
	mov	x23, x0
	mov	x0, x22
	bl	_mt76_hw
	ldr	w1, [x24]
	ldr	w2, [x25]
	mov	x3, x19
	bl	_ieee80211_iterate_active_interfaces_atomic
	mov	x0, x21
	bl	_skb_queue_len
	cmp	w23, w0
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_skb_queue_len
	cmp	w0, w20
	b.lt	LBB0_1
LBB0_3:
	mov	x0, x21
	bl	_skb_queue_len
	cbz	w0, LBB0_9
; %bb.4:
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x20, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	w8, [x0, x20, lsl #2]
	cbz	w8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x8
	mov	w1, #0
	bl	_mt76_skb_set_moredata
	ldr	x0, [x19]
	b	LBB0_6
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_IFACE_ITER_RESUME_ALL,4,2 ; @IEEE80211_IFACE_ITER_RESUME_ALL
	.comm	_mt76x02_add_buffered_bc,4,2    ; @mt76x02_add_buffered_bc
.subsections_via_symbols
