	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_get_nic_configuration
_qlcnic_83xx_get_nic_configuration:     ## @qlcnic_83xx_get_nic_configuration
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	leaq	-64(%rbp), %r15
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	32(%r12), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qlcnic_get_nic_info
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_2:
	movq	-40(%rbp), %rax
	movq	%rax, 24(%r12)
	movl	-44(%rbp), %eax
	movl	%eax, 20(%r12)
	movl	-48(%rbp), %eax
	movl	%eax, 16(%r12)
	movaps	-64(%rbp), %xmm0
	movups	%xmm0, (%r12)
	movq	___QLCNIC_SRIOV_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	_QLC_83XX_DEFAULT_OPMODE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_QLC_83XX_ESWITCH_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_5
## %bb.4:
	movq	_QLCNIC_VNIC_MODE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	___QLCNIC_SRIOV_CAPABLE,4,2     ## @__QLCNIC_SRIOV_CAPABLE
	.comm	_QLC_83XX_DEFAULT_OPMODE,4,2    ## @QLC_83XX_DEFAULT_OPMODE
	.comm	_QLC_83XX_ESWITCH_CAPABILITY,4,2 ## @QLC_83XX_ESWITCH_CAPABILITY
	.comm	_QLCNIC_VNIC_MODE,4,2           ## @QLCNIC_VNIC_MODE
	.no_dead_strip	_qlcnic_83xx_get_nic_configuration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_83xx_get_nic_configuration
_qlcnic_83xx_get_nic_configuration:     ; @qlcnic_83xx_get_nic_configuration
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, [x0, #8]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	w2, [x20, #32]
	mov	x1, sp
	mov	x0, x19
	bl	_qlcnic_get_nic_info
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
	ldr	x8, [sp, #24]
	str	x8, [x20, #24]
	ldr	d0, [sp, #16]
	str	d0, [x20, #16]
	ldr	q0, [sp]
	str	q0, [x20]
Lloh3:
	adrp	x8, ___QLCNIC_SRIOV_CAPABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___QLCNIC_SRIOV_CAPABLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _QLC_83XX_DEFAULT_OPMODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLC_83XX_DEFAULT_OPMODE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _QLC_83XX_ESWITCH_CAPABILITY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _QLC_83XX_ESWITCH_CAPABILITY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.5:
Lloh11:
	adrp	x8, _QLCNIC_VNIC_MODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QLCNIC_VNIC_MODE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	___QLCNIC_SRIOV_CAPABLE,4,2     ; @__QLCNIC_SRIOV_CAPABLE
	.comm	_QLC_83XX_DEFAULT_OPMODE,4,2    ; @QLC_83XX_DEFAULT_OPMODE
	.comm	_QLC_83XX_ESWITCH_CAPABILITY,4,2 ; @QLC_83XX_ESWITCH_CAPABILITY
	.comm	_QLCNIC_VNIC_MODE,4,2           ; @QLCNIC_VNIC_MODE
	.no_dead_strip	_qlcnic_83xx_get_nic_configuration
.subsections_via_symbols
