	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_poll_read_list
_qlcnic_83xx_poll_read_list:            ## @qlcnic_83xx_poll_read_list
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rsi)
	jle	LBB0_8
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	8(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	36(%rsi), %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	addq	$16, %rbx
	cmpl	(%r13), %r12d
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_qlcnic_83xx_wrt_reg_indirect
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%rbx), %esi
	movl	16(%r13), %r8d
	movl	20(%r13), %ecx
	movq	%r14, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_qlcnic_83xx_poll_reg
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movslq	(%rax), %r15
	movq	-12(%rbx), %rsi
	movq	%r14, %rdi
	leaq	-44(%rbp), %rdx
	callq	_QLCRD32
	movl	-44(%rbp), %ecx
	movq	_EIO@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rcx
	movq	8(%rcx), %rdx
	leal	1(%r15), %esi
	movl	%eax, (%rdx,%r15,4)
	movq	_QLC_83XX_MAX_RESET_SEQ_ENTRIES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%rcx)
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_QLC_83XX_MAX_RESET_SEQ_ENTRIES,4,2 ## @QLC_83XX_MAX_RESET_SEQ_ENTRIES
	.no_dead_strip	_qlcnic_83xx_poll_read_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_83xx_poll_read_list
_qlcnic_83xx_poll_read_list:            ; @qlcnic_83xx_poll_read_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w22, #0
	ldr	x21, [x1, #8]
	add	x23, x1, #36
Lloh0:
	adrp	x24, _EIO@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EIO@GOTPAGEOFF]
	mov	w25, #1
Lloh2:
	adrp	x26, _QLC_83XX_MAX_RESET_SEQ_ENTRIES@GOTPAGE
Lloh3:
	ldr	x26, [x26, _QLC_83XX_MAX_RESET_SEQ_ENTRIES@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	ldr	w8, [x19]
	add	x23, x23, #16
	cmp	w22, w8
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w2, [x23, #-4]
	mov	x0, x20
	bl	_qlcnic_83xx_wrt_reg_indirect
	cbz	x21, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w1, [x23, #-4]
	ldp	w4, w3, [x19, #16]
	mov	x0, x20
	mov	x2, x21
	bl	_qlcnic_83xx_poll_reg
	cbnz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldrsw	x27, [x8]
	ldur	x1, [x23, #-12]
	add	x2, sp, #12
	mov	x0, x20
	bl	_QLCRD32
	ldr	w8, [sp, #12]
	ldr	w9, [x24]
	cmn	w8, w9
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	add	w10, w27, #1
	str	w0, [x9, x27, lsl #2]
	ldr	w9, [x26]
	cmp	w10, w9
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w25, [x8]
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_QLC_83XX_MAX_RESET_SEQ_ENTRIES,4,2 ; @QLC_83XX_MAX_RESET_SEQ_ENTRIES
	.no_dead_strip	_qlcnic_83xx_poll_read_list
.subsections_via_symbols
