	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_handle_fw_message
_qlcnic_handle_fw_message:              ## @qlcnic_handle_fw_message
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %eax
	movl	%edi, %r13d
	xorl	%r12d, %r12d
                                        ## implicit-def: $rcx
                                        ## kill: killed $rcx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %r14
	movslq	%eax, %rbx
	movq	(%r14,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_le64_to_cpu
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r12,8)
	movq	(%r14,%rbx,8), %rax
	movl	4(%rax), %edi
	callq	_le64_to_cpu
	movq	-56(%rbp), %rcx
	movq	%rax, 8(%rcx,%r12,8)
	movl	8(%r15), %esi
	movl	%ebx, %edi
	callq	_get_next_index
	cmpl	$2, %r13d
	jl	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$5, %r12
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%r13d
	addq	$2, %r12
	movq	-56(%rbp), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_4:
	movq	-64(%rbp), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rbx
	movq	16(%rbx), %r14
	movl	(%rax), %edi
	callq	_qlcnic_get_nic_msg_opcode
	cmpl	$130, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$129, %eax
	je	LBB0_16
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_17
## %bb.7:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_qlcnic_handle_linkevent
	jmp	LBB0_17
LBB0_8:
	movq	-64(%rbp), %rax
	movl	4(%rax), %edx
	cmpl	$2, %edx
	je	LBB0_14
## %bb.9:
	cmpl	$1, %edx
	je	LBB0_12
## %bb.10:
	testl	%edx, %edx
	jne	LBB0_15
## %bb.11:
	movq	_QLCNIC_LB_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	orl	%eax, 4(%rcx)
	jmp	LBB0_17
LBB0_16:
	movl	(%rbx), %edi
	leaq	-64(%rbp), %rsi
	callq	_qlcnic_dcb_aen_handler
	jmp	LBB0_17
LBB0_14:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_15:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_13:
	subl	(%rax), %r15d
	movq	8(%rbx), %rax
	movl	%r15d, (%rax)
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_LB_RESPONSE,4,2         ## @QLCNIC_LB_RESPONSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"loopback already in progress\n"

	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
L_.str.1:                               ## @.str.1
	.asciz	"loopback cable is not connected\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"loopback configure request failed, err %x\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_qlcnic_handle_fw_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_handle_fw_message
_qlcnic_handle_fw_message:              ; @qlcnic_handle_fw_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x2, #16]
	ldr	x8, [x8, w1, sxtw #3]
	ldr	w0, [x8]
	bl	_le64_to_cpu
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_LB_RESPONSE,4,2         ; @QLCNIC_LB_RESPONSE
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_qlcnic_handle_fw_message
.subsections_via_symbols
