	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_res_req                    ## -- Begin function bna_res_req
	.p2align	4, 0x90
_bna_res_req:                           ## @bna_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	%rdi, %r14
	movq	_BNA_RES_T_MEM@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_BNA_RES_MEM_T_COM@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	shlq	$5, %rcx
	movq	%rax, 24(%rdi,%rcx)
	movq	_BNA_MEM_T_DMA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi,%rcx)
	movl	$1, (%rdi,%rcx)
	xorl	%eax, %eax
	callq	_bfa_nw_cee_meminfo
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_bfa_nw_flash_meminfo
	addl	%eax, %ebx
	xorl	%eax, %eax
	callq	_bfa_msgq_meminfo
	addl	%eax, %ebx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_ALIGN
	movq	(%r12), %rcx
	shlq	$5, %rcx
	movq	%rax, 8(%r14,%rcx)
	movq	(%r15), %rax
	movq	_BNA_RES_MEM_T_ATTR@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movq	%rax, 24(%r14,%rcx)
	movq	_BNA_MEM_T_DMA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14,%rcx)
	movl	$1, (%r14,%rcx)
	xorl	%eax, %eax
	callq	_bfa_nw_ioc_meminfo
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_ALIGN
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movq	%rax, 8(%r14,%rcx)
	movq	(%r15), %rax
	movq	_BNA_RES_MEM_T_FWTRC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$5, %rcx
	movq	%rax, 24(%r14,%rcx)
	movq	_BNA_MEM_T_KVA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14,%rcx)
	movl	$1, (%r14,%rcx)
	movq	_BNA_DBG_FWTRC_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14,%rcx)
	movq	(%r15), %rax
	movq	_BNA_RES_MEM_T_STATS@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movq	%rax, 24(%r14,%rcx)
	movq	_BNA_MEM_T_DMA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14,%rcx)
	movl	$1, (%r14,%rcx)
	movl	(%r13), %esi
	movl	$4, %edi
	callq	_ALIGN
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movq	%rax, 8(%r14,%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_RES_MEM_T_COM,8,3          ## @BNA_RES_MEM_T_COM
	.comm	_BNA_MEM_T_DMA,8,3              ## @BNA_MEM_T_DMA
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_BNA_RES_MEM_T_ATTR,8,3         ## @BNA_RES_MEM_T_ATTR
	.comm	_BNA_RES_MEM_T_FWTRC,8,3        ## @BNA_RES_MEM_T_FWTRC
	.comm	_BNA_MEM_T_KVA,8,3              ## @BNA_MEM_T_KVA
	.comm	_BNA_DBG_FWTRC_LEN,8,3          ## @BNA_DBG_FWTRC_LEN
	.comm	_BNA_RES_MEM_T_STATS,8,3        ## @BNA_RES_MEM_T_STATS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_res_req                    ; -- Begin function bna_res_req
	.p2align	2
_bna_res_req:                           ; @bna_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	x19, x0
Lloh0:
	adrp	x21, _BNA_RES_T_MEM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BNA_RES_T_MEM@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x24, _BNA_RES_MEM_T_COM@GOTPAGE
Lloh3:
	ldr	x24, [x24, _BNA_RES_MEM_T_COM@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x9, x0, x9, lsl #5
	str	x8, [x9, #24]
Lloh4:
	adrp	x22, _BNA_MEM_T_DMA@GOTPAGE
Lloh5:
	ldr	x22, [x22, _BNA_MEM_T_DMA@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [x9, #16]
	mov	w23, #1
	str	w23, [x9]
	bl	_bfa_nw_cee_meminfo
	mov	x20, x0
	bl	_bfa_nw_flash_meminfo
	add	w20, w0, w20
	bl	_bfa_msgq_meminfo
	add	w0, w20, w0
Lloh6:
	adrp	x20, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_ALIGN
	ldr	x8, [x24]
	add	x8, x19, x8, lsl #5
	str	x0, [x8, #8]
	ldr	x8, [x21]
Lloh8:
	adrp	x24, _BNA_RES_MEM_T_ATTR@GOTPAGE
Lloh9:
	ldr	x24, [x24, _BNA_RES_MEM_T_ATTR@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x9, x19, x9, lsl #5
	str	x8, [x9, #24]
	ldr	x8, [x22]
	str	x8, [x9, #16]
	str	w23, [x9]
	bl	_bfa_nw_ioc_meminfo
	ldr	w1, [x20]
	bl	_ALIGN
	ldr	x8, [x24]
	add	x8, x19, x8, lsl #5
	str	x0, [x8, #8]
	ldr	x8, [x21]
Lloh10:
	adrp	x9, _BNA_RES_MEM_T_FWTRC@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BNA_RES_MEM_T_FWTRC@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x9, x19, x9, lsl #5
Lloh13:
	adrp	x10, _BNA_MEM_T_KVA@GOTPAGE
Lloh14:
	ldr	x10, [x10, _BNA_MEM_T_KVA@GOTPAGEOFF]
	str	x8, [x9, #24]
Lloh15:
	ldr	x8, [x10]
	str	x8, [x9, #16]
	str	w23, [x9]
Lloh16:
	adrp	x8, _BNA_DBG_FWTRC_LEN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BNA_DBG_FWTRC_LEN@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x9, #8]
	ldr	x8, [x21]
Lloh19:
	adrp	x21, _BNA_RES_MEM_T_STATS@GOTPAGE
Lloh20:
	ldr	x21, [x21, _BNA_RES_MEM_T_STATS@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x9, x19, x9, lsl #5
	str	x8, [x9, #24]
	ldr	x8, [x22]
	str	x8, [x9, #16]
	str	w23, [x9]
	ldr	w1, [x20]
	mov	w0, #4
	bl	_ALIGN
	ldr	x8, [x21]
	add	x8, x19, x8, lsl #5
	str	x0, [x8, #8]
	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 AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_RES_T_MEM,8,3              ; @BNA_RES_T_MEM
	.comm	_BNA_RES_MEM_T_COM,8,3          ; @BNA_RES_MEM_T_COM
	.comm	_BNA_MEM_T_DMA,8,3              ; @BNA_MEM_T_DMA
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_BNA_RES_MEM_T_ATTR,8,3         ; @BNA_RES_MEM_T_ATTR
	.comm	_BNA_RES_MEM_T_FWTRC,8,3        ; @BNA_RES_MEM_T_FWTRC
	.comm	_BNA_MEM_T_KVA,8,3              ; @BNA_MEM_T_KVA
	.comm	_BNA_DBG_FWTRC_LEN,8,3          ; @BNA_DBG_FWTRC_LEN
	.comm	_BNA_RES_MEM_T_STATS,8,3        ; @BNA_RES_MEM_T_STATS
.subsections_via_symbols
