	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_set_async_event_cr
_bnxt_hwrm_set_async_event_cr:          ## @bnxt_hwrm_set_async_event_cr
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_BNXT_PF
	xorps	%xmm0, %xmm0
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	_HWRM_FUNC_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_bnxt_hwrm_cmd_hdr_init
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_cpu_to_le16
	movq	%rax, -40(%rbp)
	movq	_FUNC_CFG_REQ_ENABLES_ASYNC_EVENT_CR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	_HWRM_FUNC_VF_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_bnxt_hwrm_cmd_hdr_init
	movq	_FUNC_VF_CFG_REQ_ENABLES_ASYNC_EVENT_CR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, -56(%rbp)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, -64(%rbp)
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$32, %edx
	callq	_hwrm_send_message
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWRM_FUNC_CFG,4,2              ## @HWRM_FUNC_CFG
	.comm	_FUNC_CFG_REQ_ENABLES_ASYNC_EVENT_CR,4,2 ## @FUNC_CFG_REQ_ENABLES_ASYNC_EVENT_CR
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
	.comm	_HWRM_FUNC_VF_CFG,4,2           ## @HWRM_FUNC_VF_CFG
	.comm	_FUNC_VF_CFG_REQ_ENABLES_ASYNC_EVENT_CR,4,2 ## @FUNC_VF_CFG_REQ_ENABLES_ASYNC_EVENT_CR
	.no_dead_strip	_bnxt_hwrm_set_async_event_cr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_set_async_event_cr
_bnxt_hwrm_set_async_event_cr:          ; @bnxt_hwrm_set_async_event_cr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
	bl	_BNXT_PF
	movi.2d	v0, #0000000000000000
	cbz	x0, LBB0_2
; %bb.1:
	stp	q0, q0, [sp]
Lloh0:
	adrp	x8, _HWRM_FUNC_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWRM_FUNC_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x19
	mov	w3, #-1
	mov	w4, #-1
	bl	_bnxt_hwrm_cmd_hdr_init
	mov	w0, #65535
	bl	_cpu_to_le16
	str	x0, [sp, #24]
Lloh3:
	adrp	x8, _FUNC_CFG_REQ_ENABLES_ASYNC_EVENT_CR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FUNC_CFG_REQ_ENABLES_ASYNC_EVENT_CR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	stp	q0, q0, [sp]
Lloh5:
	adrp	x8, _HWRM_FUNC_VF_CFG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HWRM_FUNC_VF_CFG@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x19
	mov	w3, #-1
	mov	w4, #-1
	bl	_bnxt_hwrm_cmd_hdr_init
Lloh8:
	adrp	x8, _FUNC_VF_CFG_REQ_ENABLES_ASYNC_EVENT_CR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FUNC_VF_CFG_REQ_ENABLES_ASYNC_EVENT_CR@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [sp, #8]
	mov	x0, x20
	bl	_cpu_to_le16
	str	x0, [sp]
Lloh10:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #32
	bl	_hwrm_send_message
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_HWRM_FUNC_CFG,4,2              ; @HWRM_FUNC_CFG
	.comm	_FUNC_CFG_REQ_ENABLES_ASYNC_EVENT_CR,4,2 ; @FUNC_CFG_REQ_ENABLES_ASYNC_EVENT_CR
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
	.comm	_HWRM_FUNC_VF_CFG,4,2           ; @HWRM_FUNC_VF_CFG
	.comm	_FUNC_VF_CFG_REQ_ENABLES_ASYNC_EVENT_CR,4,2 ; @FUNC_VF_CFG_REQ_ENABLES_ASYNC_EVENT_CR
	.no_dead_strip	_bnxt_hwrm_set_async_event_cr
.subsections_via_symbols
