	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_handler
_bnxt_hwrm_handler:                     ## @bnxt_hwrm_handler
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_TX_CMP_TYPE
	xorl	%r14d, %r14d
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_10
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_11
## %bb.3:
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	cmpl	(%r15), %eax
	jne	LBB0_5
## %bb.4:
	notl	%eax
	movl	%eax, (%r15)
	jmp	LBB0_11
LBB0_10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnxt_async_event_process
	jmp	LBB0_11
LBB0_6:
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	movl	8(%r15), %ecx
	movl	%eax, %edi
	subl	%ecx, %edi
	jl	LBB0_8
## %bb.7:
	addl	12(%r15), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_8
## %bb.9:
	movq	16(%r15), %rsi
	callq	_set_bit
	movq	_BNXT_HWRM_EXEC_FWD_REQ_SP_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %rsi
	callq	_set_bit
	movq	%r15, %rdi
	callq	_bnxt_queue_sp_work
	jmp	LBB0_11
LBB0_8:
	movl	24(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_11
LBB0_5:
	movl	24(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_netdev_err
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid hwrm seq id %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Msg contains invalid VF id %x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BNXT_HWRM_EXEC_FWD_REQ_SP_EVENT,4,2 ## @BNXT_HWRM_EXEC_FWD_REQ_SP_EVENT
	.no_dead_strip	_bnxt_hwrm_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_handler
_bnxt_hwrm_handler:                     ; @bnxt_hwrm_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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
	mov	x0, x1
	bl	_TX_CMP_TYPE
	cmp	w0, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w0, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #129
	b.ne	LBB0_11
; %bb.3:
	ldr	w0, [x20]
	bl	_le16_to_cpu
	mov	x2, x0
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.4:
	mov	w0, #0
	mvn	w8, w2
	str	w8, [x19]
	b	LBB0_12
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_bnxt_async_event_process
	b	LBB0_11
LBB0_6:
	ldr	w0, [x20]
	bl	_le16_to_cpu
	mov	x2, x0
	ldr	w8, [x19, #8]
	subs	w0, w0, w8
	b.lt	LBB0_9
; %bb.7:
	ldr	w9, [x19, #12]
	add	w8, w9, w8
	cmp	w2, w8
	b.ge	LBB0_9
; %bb.8:
	ldr	x1, [x19, #16]
	bl	_set_bit
Lloh0:
	adrp	x8, _BNXT_HWRM_EXEC_FWD_REQ_SP_EVENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNXT_HWRM_EXEC_FWD_REQ_SP_EVENT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
	mov	x0, x19
	bl	_bnxt_queue_sp_work
	b	LBB0_11
LBB0_9:
	ldr	w0, [x19, #24]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_10:
	ldr	w0, [x19, #24]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid hwrm seq id %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Msg contains invalid VF id %x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BNXT_HWRM_EXEC_FWD_REQ_SP_EVENT,4,2 ; @BNXT_HWRM_EXEC_FWD_REQ_SP_EVENT
	.no_dead_strip	_bnxt_hwrm_handler
.subsections_via_symbols
