	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_reserve_pf_rings
_bnxt_hwrm_reserve_pf_rings:            ## @bnxt_hwrm_reserve_pf_rings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%r9d, %eax
	movl	%r8d, %r9d
	movl	%ecx, %r8d
	movl	%edx, %ecx
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	16(%rbp), %r10d
	movq	$0, -24(%rbp)
	leaq	-24(%rbp), %rsi
	movl	%r14d, %edx
	pushq	%r10
	pushq	%rax
	callq	___bnxt_hwrm_reserve_pf_rings
	addq	$16, %rsp
	cmpl	$0, -24(%rbp)
	je	LBB0_1
## %bb.2:
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_hwrm_send_message
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	cmpl	$67072, (%rbx)                  ## imm = 0x10600
	jg	LBB0_5
## %bb.4:
	movl	%r14d, 4(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	callq	_bnxt_hwrm_get_rings
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_hwrm_reserve_pf_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_reserve_pf_rings
_bnxt_hwrm_reserve_pf_rings:            ; @bnxt_hwrm_reserve_pf_rings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x7, x6
	mov	x6, x5
	mov	x5, x4
	mov	x4, x3
	mov	x3, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	add	x1, sp, #8
	mov	x2, x20
	bl	___bnxt_hwrm_reserve_pf_rings
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #8
	bl	_hwrm_send_message
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	w8, [x19]
	mov	w9, #1536
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.gt	LBB0_4
; %bb.3:
	str	w20, [x19, #4]
LBB0_4:
	mov	x0, x19
	bl	_bnxt_hwrm_get_rings
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_hwrm_reserve_pf_rings
.subsections_via_symbols
