	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_idc_init_state
_qlcnic_83xx_idc_init_state:            ## @qlcnic_83xx_idc_init_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rax), %rax
	movq	_QLC_83XX_IDC_DEV_NEED_RESET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_idc_find_reset_owner_id
	movq	(%rbx), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_qlcnic_83xx_idc_restart_hw     ## TAILCALL
LBB0_3:
	movq	_QLC_83XX_IDC_INIT_TIMEOUT_SECS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_qlcnic_83xx_idc_check_timeout  ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_83XX_IDC_INIT_TIMEOUT_SECS,4,2 ## @QLC_83XX_IDC_INIT_TIMEOUT_SECS
	.comm	_QLC_83XX_IDC_DEV_NEED_RESET,8,3 ## @QLC_83XX_IDC_DEV_NEED_RESET
	.no_dead_strip	_qlcnic_83xx_idc_init_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_83xx_idc_init_state
_qlcnic_83xx_idc_init_state:            ; @qlcnic_83xx_idc_init_state
	.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	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
Lloh0:
	adrp	x9, _QLC_83XX_IDC_DEV_NEED_RESET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLC_83XX_IDC_DEV_NEED_RESET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_qlcnic_83xx_idc_find_reset_owner_id
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qlcnic_83xx_idc_restart_hw
LBB0_3:
Lloh3:
	adrp	x8, _QLC_83XX_IDC_INIT_TIMEOUT_SECS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLC_83XX_IDC_INIT_TIMEOUT_SECS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qlcnic_83xx_idc_check_timeout
LBB0_4:
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_83XX_IDC_INIT_TIMEOUT_SECS,4,2 ; @QLC_83XX_IDC_INIT_TIMEOUT_SECS
	.comm	_QLC_83XX_IDC_DEV_NEED_RESET,8,3 ; @QLC_83XX_IDC_DEV_NEED_RESET
	.no_dead_strip	_qlcnic_83xx_idc_init_state
.subsections_via_symbols
