	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_vnic_free_one
_bnxt_hwrm_vnic_free_one:               ## @bnxt_hwrm_vnic_free_one
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax,%rsi,8), %rcx
	movq	_INVALID_HW_RING_ID@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	cmpq	(%r12), %rcx
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, -40(%rbp)
	movq	_HWRM_VNIC_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %r15
	movq	%r15, %rsi
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_bnxt_hwrm_cmd_hdr_init
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_cpu_to_le32
	movl	%eax, -40(%rbp)
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_hwrm_send_message
	movq	(%r12), %rcx
	movq	(%rbx), %rdx
	movq	%rcx, (%rdx,%r14,8)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVALID_HW_RING_ID,8,3         ## @INVALID_HW_RING_ID
	.comm	_HWRM_VNIC_FREE,4,2             ## @HWRM_VNIC_FREE
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_hwrm_vnic_free_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_vnic_free_one
_bnxt_hwrm_vnic_free_one:               ; @bnxt_hwrm_vnic_free_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x0]
	ldr	x8, [x8, x1, lsl #3]
Lloh0:
	adrp	x21, _INVALID_HW_RING_ID@GOTPAGE
Lloh1:
	ldr	x21, [x21, _INVALID_HW_RING_ID@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh2:
	adrp	x8, _HWRM_VNIC_FREE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HWRM_VNIC_FREE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	w3, #-1
	mov	w4, #-1
	bl	_bnxt_hwrm_cmd_hdr_init
	ldr	x8, [x19]
	lsl	x20, x20, #3
	ldr	x0, [x8, x20]
	bl	_cpu_to_le32
	str	w0, [sp, #8]
Lloh5:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #8
	bl	_hwrm_send_message
	ldr	x8, [x21]
	ldr	x9, [x19]
	str	x8, [x9, x20]
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_INVALID_HW_RING_ID,8,3         ; @INVALID_HW_RING_ID
	.comm	_HWRM_VNIC_FREE,4,2             ; @HWRM_VNIC_FREE
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_hwrm_vnic_free_one
.subsections_via_symbols
