	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_reg_test
_qlcnic_reg_test:                       ## @qlcnic_reg_test
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	$0, -12(%rbp)
	movq	%rax, %rdi
	callq	_qlcnic_83xx_check
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_qlcnic_83xx_reg_test           ## TAILCALL
LBB0_1:
	xorl	%edi, %edi
	callq	_QLCNIC_PCIX_PH_REG
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QLCRD32
	movl	%eax, %ecx
	movl	-12(%rbp), %eax
	movq	_EIO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	addl	%eax, %edx
	je	LBB0_3
## %bb.2:
	movzwl	%cx, %ecx
	movq	(%rbx), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	setne	%al
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_qlcnic_reg_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_reg_test
_qlcnic_reg_test:                       ; @qlcnic_reg_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_netdev_priv
	mov	x19, x0
	str	wzr, [sp, #12]
	bl	_qlcnic_83xx_check
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_qlcnic_83xx_reg_test
LBB0_2:
	bl	_QLCNIC_PCIX_PH_REG
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x19
	bl	_QLCRD32
	mov	x8, x0
	ldr	w0, [sp, #12]
Lloh0:
	adrp	x9, _EIO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmn	w0, w9
	b.eq	LBB0_4
; %bb.3:
	ldr	x9, [x19]
	ldr	w9, [x9]
	cmp	w9, w8, uxth
	cset	w0, ne
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_qlcnic_reg_test
.subsections_via_symbols
