	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2x00queue_write_tx_data
_rt2x00queue_write_tx_data:             ## @rt2x00queue_write_tx_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	8(%rax), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	*%rax
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%r12), %rax
	movl	(%rax), %edx
	movq	_DRV_PROJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_rt2x00_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	(%r12), %rdi
	movl	8(%r14), %esi
	callq	_skb_push
	movq	(%r12), %rax
	movl	(%rax), %edi
	movl	8(%r14), %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	*%rax
LBB0_7:
	movq	_REQUIRE_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rt2x00_has_cap_flag
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%r12, %rdi
	callq	_rt2x00queue_map_txskb
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Corrupt queue %d, accessing entry which is not ours\nPlease file bug report to %s\n"

	.comm	_DRV_PROJECT,4,2                ## @DRV_PROJECT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_REQUIRE_DMA,4,2                ## @REQUIRE_DMA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_rt2x00queue_write_tx_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2x00queue_write_tx_data
_rt2x00queue_write_tx_data:             ; @rt2x00queue_write_tx_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	blr	x8
	cmp	x0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
Lloh0:
	adrp	x8, _DRV_PROJECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRV_PROJECT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_rt2x00_err
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_4:
	ldr	x0, [x19]
	ldr	w1, [x20, #8]
	bl	_skb_push
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	w2, [x20, #8]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x21
	blr	x8
LBB0_6:
Lloh7:
	adrp	x8, _REQUIRE_DMA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REQUIRE_DMA@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rt2x00_has_cap_flag
	cbz	x0, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_rt2x00queue_map_txskb
	cbz	x0, LBB0_10
; %bb.8:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Corrupt queue %d, accessing entry which is not ours\nPlease file bug report to %s\n"

	.comm	_DRV_PROJECT,4,2                ; @DRV_PROJECT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_REQUIRE_DMA,4,2                ; @REQUIRE_DMA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_rt2x00queue_write_tx_data
.subsections_via_symbols
