	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bnxt_find_nvram_item
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bnxt_find_nvram_item:                  ## @bnxt_find_nvram_item
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %r15d
	callq	_netdev_priv
	movq	%rax, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movq	$0, -80(%rbp)
	movq	8(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_HWRM_NVM_FIND_DIR_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-128(%rbp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_bnxt_hwrm_cmd_hdr_init
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, -104(%rbp)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, -112(%rbp)
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movq	%rax, -120(%rbp)
	movq	_NVM_FIND_DIR_ENTRY_REQ_OPT_ORDINAL_EQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$56, %edx
	callq	__hwrm_send_message_silent
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_le16_to_cpu
	movl	%eax, (%r14)
LBB0_3:
	movq	16(%rbp), %r14
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, (%r15)
LBB0_5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, (%r14)
LBB0_7:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWRM_NVM_FIND_DIR_ENTRY,4,2    ## @HWRM_NVM_FIND_DIR_ENTRY
	.comm	_NVM_FIND_DIR_ENTRY_REQ_OPT_ORDINAL_EQ,4,2 ## @NVM_FIND_DIR_ENTRY_REQ_OPT_ORDINAL_EQ
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_find_nvram_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_find_nvram_item
_bnxt_find_nvram_item:                  ; @bnxt_find_nvram_item
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	bl	_netdev_priv
	mov	x20, x0
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
	ldr	x26, [x0, #8]
Lloh0:
	adrp	x8, _HWRM_NVM_FIND_DIR_ENTRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWRM_NVM_FIND_DIR_ENTRY@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, sp
	mov	w3, #-1
	mov	w4, #-1
	bl	_bnxt_hwrm_cmd_hdr_init
	stp	xzr, xzr, [sp, #32]
	mov	x0, x25
	bl	_cpu_to_le16
	str	x0, [sp, #24]
	mov	x0, x24
	bl	_cpu_to_le16
	str	x0, [sp, #16]
	mov	x0, x23
	bl	_cpu_to_le16
	str	x0, [sp, #8]
Lloh3:
	adrp	x8, _NVM_FIND_DIR_ENTRY_REQ_OPT_ORDINAL_EQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVM_FIND_DIR_ENTRY_REQ_OPT_ORDINAL_EQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x20
	bl	_mutex_lock
Lloh6:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x1, sp
	mov	x0, x20
	mov	w2, #56
	bl	__hwrm_send_message_silent
	mov	x23, x0
	cbnz	w0, LBB0_7
; %bb.1:
	cbz	x22, LBB0_3
; %bb.2:
	ldr	w0, [x26, #8]
	bl	_le16_to_cpu
	str	w0, [x22]
LBB0_3:
	cbz	x21, LBB0_5
; %bb.4:
	ldr	w0, [x26, #4]
	bl	_le32_to_cpu
	str	w0, [x21]
LBB0_5:
	cbz	x19, LBB0_7
; %bb.6:
	ldr	w0, [x26]
	bl	_le32_to_cpu
	str	w0, [x19]
LBB0_7:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HWRM_NVM_FIND_DIR_ENTRY,4,2    ; @HWRM_NVM_FIND_DIR_ENTRY
	.comm	_NVM_FIND_DIR_ENTRY_REQ_OPT_ORDINAL_EQ,4,2 ; @NVM_FIND_DIR_ENTRY_REQ_OPT_ORDINAL_EQ
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
	.no_dead_strip	_bnxt_find_nvram_item
.subsections_via_symbols
