	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_alloc_ctx_mem_blk
_bnxt_alloc_ctx_mem_blk:                ## @bnxt_alloc_ctx_mem_blk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	addq	$8, %rsi
	movq	_BNXT_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	(%rax), %rcx
	movq	%rcx, 16(%rax)
	movq	_BNXT_RMEM_VALID_PTE_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	cmpl	$0, 8(%rax)
	jle	LBB0_2
## %bb.1:
	movq	_BNXT_RMEM_USE_FULL_PAGE_FLAG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 12(%rax)
LBB0_2:
	popq	%rbp
	jmp	_bnxt_alloc_ring                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_PAGE_SIZE,4,2             ## @BNXT_PAGE_SIZE
	.comm	_BNXT_RMEM_VALID_PTE_FLAG,4,2   ## @BNXT_RMEM_VALID_PTE_FLAG
	.comm	_BNXT_RMEM_USE_FULL_PAGE_FLAG,4,2 ## @BNXT_RMEM_USE_FULL_PAGE_FLAG
	.no_dead_strip	_bnxt_alloc_ctx_mem_blk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_alloc_ctx_mem_blk
_bnxt_alloc_ctx_mem_blk:                ; @bnxt_alloc_ctx_mem_blk
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	ldr	w10, [x1, #8]!
Lloh0:
	adrp	x9, _BNXT_PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNXT_PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x8, #24]
	ldr	d0, [x8]
	str	d0, [x8, #16]
Lloh3:
	adrp	x9, _BNXT_RMEM_VALID_PTE_FLAG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNXT_RMEM_VALID_PTE_FLAG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x8, #12]
	cmp	w10, #1
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x10, _BNXT_RMEM_USE_FULL_PAGE_FLAG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BNXT_RMEM_USE_FULL_PAGE_FLAG@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x8, #12]
LBB0_2:
	b	_bnxt_alloc_ring
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_PAGE_SIZE,4,2             ; @BNXT_PAGE_SIZE
	.comm	_BNXT_RMEM_VALID_PTE_FLAG,4,2   ; @BNXT_RMEM_VALID_PTE_FLAG
	.comm	_BNXT_RMEM_USE_FULL_PAGE_FLAG,4,2 ; @BNXT_RMEM_USE_FULL_PAGE_FLAG
	.no_dead_strip	_bnxt_alloc_ctx_mem_blk
.subsections_via_symbols
