	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qtnf_mgmt_tx
_qtnf_mgmt_tx:                          ## @qtnf_mgmt_tx
	.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	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	(%rsi), %rdi
	callq	_qtnf_netdev_get_priv
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r15
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_prandom_u32
	movl	%eax, %r12d
	movl	%eax, (%r14)
	movq	40(%rbx), %r9
	movq	_QLINK_FRAME_TX_FLAG_OFFCHAN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	32(%rbx), %rdi
	movq	_QLINK_FRAME_TX_FLAG_NO_CCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rbx), %rdx
	movq	24(%rbx), %r8
	movq	_QLINK_FRAME_TX_FLAG_ACK_NOWAIT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r14
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	(%rdx), %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
LBB0_2:
	testq	%r9, %r9
	cmoveq	%r9, %rcx
	testq	%rdi, %rdi
	cmoveq	%rdi, %rax
	orq	%rcx, %rax
	testq	%r8, %r8
	cmoveq	%r8, %r14
	orq	%rax, %r14
	movq	(%r13), %rax
	movl	(%rax), %r13d
	movl	4(%r15), %edi
	callq	_le16_to_cpu
	movl	(%r15), %r8d
	movl	(%rbx), %r9d
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%eax, %ecx
	pushq	%r14
	pushq	%r12
	callq	_pr_debug
	addq	$16, %rsp
	movq	8(%rbx), %r8
	movl	(%rbx), %r9d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qtnf_cmd_send_frame            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLINK_FRAME_TX_FLAG_OFFCHAN,8,3 ## @QLINK_FRAME_TX_FLAG_OFFCHAN
	.comm	_QLINK_FRAME_TX_FLAG_NO_CCK,8,3 ## @QLINK_FRAME_TX_FLAG_NO_CCK
	.comm	_QLINK_FRAME_TX_FLAG_ACK_NOWAIT,8,3 ## @QLINK_FRAME_TX_FLAG_ACK_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s freq:%u; FC:%.4X; DA:%pM; len:%zu; C:%.8X; FL:%.4X\n"

	.no_dead_strip	_qtnf_mgmt_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qtnf_mgmt_tx
_qtnf_mgmt_tx:                          ; @qtnf_mgmt_tx
	.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	x23, x3
	mov	x19, x2
	mov	x22, x1
	ldr	x0, [x1]
	bl	_qtnf_netdev_get_priv
	mov	x20, x0
	ldr	x25, [x19, #8]
	bl	_prandom_u32
	mov	x21, x0
Lloh0:
	adrp	x8, _QLINK_FRAME_TX_FLAG_OFFCHAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLINK_FRAME_TX_FLAG_OFFCHAN@GOTPAGEOFF]
	str	w0, [x23]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x12, [x19, #32]
Lloh3:
	adrp	x10, _QLINK_FRAME_TX_FLAG_NO_CCK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QLINK_FRAME_TX_FLAG_NO_CCK@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _QLINK_FRAME_TX_FLAG_ACK_NOWAIT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _QLINK_FRAME_TX_FLAG_ACK_NOWAIT@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	ldp	x14, x13, [x19, #16]
	cbz	x14, LBB0_2
; %bb.1:
	ldr	x23, [x14]
	b	LBB0_3
LBB0_2:
	mov	x23, #0
LBB0_3:
	cmp	x12, #0
	csel	x8, xzr, x8, eq
	cmp	x9, #0
	csel	x9, xzr, x10, eq
	orr	x8, x9, x8
	cmp	x13, #0
	csel	x9, xzr, x11, eq
	orr	x24, x8, x9
	ldr	x8, [x22]
	ldr	w22, [x8]
	ldr	w0, [x25, #4]
	bl	_le16_to_cpu
	mov	x3, x0
	ldr	w4, [x25]
	ldr	w5, [x19]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	mov	x6, x21
	mov	x7, x24
	bl	_pr_debug
	ldr	x4, [x19, #8]
	ldr	w5, [x19]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	mov	x3, x23
	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	_qtnf_cmd_send_frame
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_QLINK_FRAME_TX_FLAG_OFFCHAN,8,3 ; @QLINK_FRAME_TX_FLAG_OFFCHAN
	.comm	_QLINK_FRAME_TX_FLAG_NO_CCK,8,3 ; @QLINK_FRAME_TX_FLAG_NO_CCK
	.comm	_QLINK_FRAME_TX_FLAG_ACK_NOWAIT,8,3 ; @QLINK_FRAME_TX_FLAG_ACK_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s freq:%u; FC:%.4X; DA:%pM; len:%zu; C:%.8X; FL:%.4X\n"

	.no_dead_strip	_qtnf_mgmt_tx
.subsections_via_symbols
