	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_tx_res_req                 ## -- Begin function bna_tx_res_req
	.p2align	4, 0x90
_bna_tx_res_req:                        ## @bna_tx_res_req
	.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
	movq	%rdx, %rbx
	movl	%esi, %eax
	movl	%edi, %r14d
	movq	_BNA_RES_T_MEM@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	_BNA_TX_RES_MEM_T_TCB@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$5, %rdx
	movq	%rcx, 24(%rbx,%rdx)
	movq	_BNA_MEM_T_KVA@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	%rcx, 16(%rbx,%rdx)
	movl	$4, 8(%rbx,%rdx)
	movl	%edi, 12(%rbx,%rdx)
	movq	_BFI_TXQ_WI_SIZE@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_ALIGN
                                        ## kill: def $eax killed $eax def $rax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	(%r15), %rcx
	movq	_BNA_TX_RES_MEM_T_QPT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$5, %rdx
	movq	%rcx, 24(%rbx,%rdx)
	movq	_BNA_MEM_T_DMA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rsi, 16(%rbx,%rdx)
	leal	(,%rax,4), %esi
	movl	%esi, 8(%rbx,%rdx)
	movl	%r14d, 12(%rbx,%rdx)
	movq	(%r15), %rdx
	movq	_BNA_TX_RES_MEM_T_SWQPT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	shlq	$5, %rsi
	movq	%rdx, 24(%rbx,%rsi)
	movq	(%r13), %rdx
	movq	%rdx, 16(%rbx,%rsi)
	leal	(,%rax,8), %edx
	movl	%edx, 8(%rbx,%rsi)
	movl	%r14d, 12(%rbx,%rsi)
	movq	(%r15), %rdx
	movq	_BNA_TX_RES_MEM_T_PAGE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	shlq	$5, %rsi
	movq	%rdx, 24(%rbx,%rsi)
	movq	(%rcx), %rdx
	movq	%rdx, 16(%rbx,%rsi)
	imull	(%r12), %eax
	movl	%eax, 8(%rbx,%rsi)
	movl	%r14d, 12(%rbx,%rsi)
	movq	(%r15), %rax
	movq	_BNA_TX_RES_MEM_T_IBIDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$5, %rdx
	movq	%rax, 24(%rbx,%rdx)
	movq	(%rcx), %rax
	movq	%rax, 16(%rbx,%rdx)
	movq	_BFI_IBIDX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx,%rdx)
	movl	%r14d, 12(%rbx,%rdx)
	movq	_BNA_RES_T_INTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BNA_TX_RES_INTR_T_TXCMPL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$5, %rcx
	movq	%rax, 24(%rbx,%rcx)
	movq	_BNA_INTR_T_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx,%rcx)
	movl	%r14d, (%rbx,%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNA_RES_T_MEM,8,3              ## @BNA_RES_T_MEM
	.comm	_BNA_TX_RES_MEM_T_TCB,8,3       ## @BNA_TX_RES_MEM_T_TCB
	.comm	_BNA_MEM_T_KVA,8,3              ## @BNA_MEM_T_KVA
	.comm	_BFI_TXQ_WI_SIZE,4,2            ## @BFI_TXQ_WI_SIZE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_BNA_TX_RES_MEM_T_QPT,8,3       ## @BNA_TX_RES_MEM_T_QPT
	.comm	_BNA_MEM_T_DMA,8,3              ## @BNA_MEM_T_DMA
	.comm	_BNA_TX_RES_MEM_T_SWQPT,8,3     ## @BNA_TX_RES_MEM_T_SWQPT
	.comm	_BNA_TX_RES_MEM_T_PAGE,8,3      ## @BNA_TX_RES_MEM_T_PAGE
	.comm	_BNA_TX_RES_MEM_T_IBIDX,8,3     ## @BNA_TX_RES_MEM_T_IBIDX
	.comm	_BFI_IBIDX_SIZE,4,2             ## @BFI_IBIDX_SIZE
	.comm	_BNA_RES_T_INTR,8,3             ## @BNA_RES_T_INTR
	.comm	_BNA_TX_RES_INTR_T_TXCMPL,8,3   ## @BNA_TX_RES_INTR_T_TXCMPL
	.comm	_BNA_INTR_T_MSIX,4,2            ## @BNA_INTR_T_MSIX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_tx_res_req                 ; -- Begin function bna_tx_res_req
	.p2align	2
_bna_tx_res_req:                        ; @bna_tx_res_req
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x21, _BNA_RES_T_MEM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BNA_RES_T_MEM@GOTPAGEOFF]
Lloh2:
	adrp	x8, _BNA_TX_RES_MEM_T_TCB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BNA_TX_RES_MEM_T_TCB@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	ldr	x8, [x8]
	add	x8, x2, x8, lsl #5
	str	x9, [x8, #24]
Lloh5:
	adrp	x22, _BNA_MEM_T_KVA@GOTPAGE
Lloh6:
	ldr	x22, [x22, _BNA_MEM_T_KVA@GOTPAGEOFF]
	ldr	x9, [x22]
	str	x9, [x8, #16]
	mov	w9, #4
Lloh7:
	adrp	x10, _BFI_TXQ_WI_SIZE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _BFI_TXQ_WI_SIZE@GOTPAGEOFF]
	stp	w9, w0, [x8, #8]
Lloh9:
	ldr	w8, [x10]
	mul	w0, w8, w1
Lloh10:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh11:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_ALIGN
Lloh12:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	asr	w8, w0, w8
Lloh15:
	adrp	x9, _BNA_TX_RES_MEM_T_QPT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BNA_TX_RES_MEM_T_QPT@GOTPAGEOFF]
	ldr	x10, [x21]
Lloh17:
	ldr	x9, [x9]
	add	x9, x20, x9, lsl #5
	str	x10, [x9, #24]
Lloh18:
	adrp	x10, _BNA_MEM_T_DMA@GOTPAGE
Lloh19:
	ldr	x10, [x10, _BNA_MEM_T_DMA@GOTPAGEOFF]
	ldr	x11, [x10]
	str	x11, [x9, #16]
	lsl	w11, w8, #2
	stp	w11, w19, [x9, #8]
	ldr	x9, [x21]
Lloh20:
	adrp	x11, _BNA_TX_RES_MEM_T_SWQPT@GOTPAGE
Lloh21:
	ldr	x11, [x11, _BNA_TX_RES_MEM_T_SWQPT@GOTPAGEOFF]
Lloh22:
	ldr	x11, [x11]
	add	x11, x20, x11, lsl #5
	str	x9, [x11, #24]
	ldr	x9, [x22]
	str	x9, [x11, #16]
	lsl	w9, w8, #3
	stp	w9, w19, [x11, #8]
Lloh23:
	adrp	x9, _BNA_TX_RES_MEM_T_PAGE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _BNA_TX_RES_MEM_T_PAGE@GOTPAGEOFF]
	ldr	x11, [x21]
Lloh25:
	ldr	x9, [x9]
	add	x9, x20, x9, lsl #5
	str	x11, [x9, #24]
	ldr	x11, [x10]
	str	x11, [x9, #16]
	ldr	w11, [x23]
	mul	w8, w11, w8
	stp	w8, w19, [x9, #8]
Lloh26:
	adrp	x8, _BNA_TX_RES_MEM_T_IBIDX@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BNA_TX_RES_MEM_T_IBIDX@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh28:
	ldr	x8, [x8]
	add	x8, x20, x8, lsl #5
	str	x9, [x8, #24]
	ldr	x9, [x10]
	str	x9, [x8, #16]
Lloh29:
	adrp	x9, _BFI_IBIDX_SIZE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _BFI_IBIDX_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x10, _BNA_RES_T_INTR@GOTPAGE
Lloh33:
	ldr	x10, [x10, _BNA_RES_T_INTR@GOTPAGEOFF]
	stp	w9, w19, [x8, #8]
Lloh34:
	ldr	x8, [x10]
Lloh35:
	adrp	x9, _BNA_TX_RES_INTR_T_TXCMPL@GOTPAGE
Lloh36:
	ldr	x9, [x9, _BNA_TX_RES_INTR_T_TXCMPL@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	add	x9, x20, x9, lsl #5
	str	x8, [x9, #24]
Lloh38:
	adrp	x8, _BNA_INTR_T_MSIX@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BNA_INTR_T_MSIX@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	stp	w19, w8, [x9]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_RES_T_MEM,8,3              ; @BNA_RES_T_MEM
	.comm	_BNA_TX_RES_MEM_T_TCB,8,3       ; @BNA_TX_RES_MEM_T_TCB
	.comm	_BNA_MEM_T_KVA,8,3              ; @BNA_MEM_T_KVA
	.comm	_BFI_TXQ_WI_SIZE,4,2            ; @BFI_TXQ_WI_SIZE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_BNA_TX_RES_MEM_T_QPT,8,3       ; @BNA_TX_RES_MEM_T_QPT
	.comm	_BNA_MEM_T_DMA,8,3              ; @BNA_MEM_T_DMA
	.comm	_BNA_TX_RES_MEM_T_SWQPT,8,3     ; @BNA_TX_RES_MEM_T_SWQPT
	.comm	_BNA_TX_RES_MEM_T_PAGE,8,3      ; @BNA_TX_RES_MEM_T_PAGE
	.comm	_BNA_TX_RES_MEM_T_IBIDX,8,3     ; @BNA_TX_RES_MEM_T_IBIDX
	.comm	_BFI_IBIDX_SIZE,4,2             ; @BFI_IBIDX_SIZE
	.comm	_BNA_RES_T_INTR,8,3             ; @BNA_RES_T_INTR
	.comm	_BNA_TX_RES_INTR_T_TXCMPL,8,3   ; @BNA_TX_RES_INTR_T_TXCMPL
	.comm	_BNA_INTR_T_MSIX,4,2            ; @BNA_INTR_T_MSIX
.subsections_via_symbols
