	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_tx_desc_map
_wil_tx_desc_map:                       ## @wil_tx_desc_map
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rdi, %rbx
	addq	$56, %rdi
	callq	_wil_desc_addr_set
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movl	%eax, 20(%rbx)
	movq	_DMA_CFG_DESC_TX_0_QID_POS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	movl	%r14d, 16(%rbx)
	movq	(%rbx), %rax
	movq	$0, (%rax)
	movl	$0, 8(%rax)
	movq	$0, 8(%rbx)
	movq	_MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	_MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_CFG_DESC_TX_0_QID_POS,4,2  ## @DMA_CFG_DESC_TX_0_QID_POS
	.comm	_MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS,4,2 ## @MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS
	.comm	_MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS,4,2 ## @MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS
	.no_dead_strip	_wil_tx_desc_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_tx_desc_map
_wil_tx_desc_map:                       ; @wil_tx_desc_map
	.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	x19, x3
	mov	x20, x2
	mov	x21, x0
	add	x0, x0, #56
	bl	_wil_desc_addr_set
	movi.2d	v0, #0000000000000000
	stur	q0, [x21, #24]
	stur	q0, [x21, #40]
	mov	x0, x20
	bl	_cpu_to_le16
Lloh0:
	adrp	x8, _DMA_CFG_DESC_TX_0_QID_POS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_CFG_DESC_TX_0_QID_POS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w19, w8
	stp	w8, w0, [x21, #16]
	ldr	x8, [x21]
	str	xzr, [x8]
	str	wzr, [x8, #8]
	str	xzr, [x21, #8]
Lloh3:
	adrp	x8, _MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BIT
Lloh6:
	adrp	x8, _MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	orr	w8, w8, w0
	ldr	x9, [x21]
	str	w8, [x9, #8]
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_CFG_DESC_TX_0_QID_POS,4,2  ; @DMA_CFG_DESC_TX_0_QID_POS
	.comm	_MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS,4,2 ; @MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS
	.comm	_MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS,4,2 ; @MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS
	.no_dead_strip	_wil_tx_desc_map
.subsections_via_symbols
