	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_configure_opmode   ## -- Begin function qlcnic_83xx_configure_opmode
	.p2align	4, 0x90
_qlcnic_83xx_configure_opmode:          ## @qlcnic_83xx_configure_opmode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_qlcnic_83xx_get_nic_configuration
	movq	_EIO@GOTPCREL(%rip), %r15
	movl	%eax, %ecx
	addl	(%r15), %ecx
	jne	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	jmp	LBB0_8
LBB0_2:
	movq	_QLC_83XX_VIRTUAL_NIC_MODE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_config_vnic_opmode
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_5:
	movq	_QLC_83XX_DEFAULT_MODE@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_config_default_opmode
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	xorl	%r14d, %r14d
	subl	(%r15), %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_QLC_83XX_VIRTUAL_NIC_MODE,4,2  ## @QLC_83XX_VIRTUAL_NIC_MODE
	.comm	_QLC_83XX_DEFAULT_MODE,4,2      ## @QLC_83XX_DEFAULT_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_configure_opmode   ; -- Begin function qlcnic_83xx_configure_opmode
	.p2align	2
_qlcnic_83xx_configure_opmode:          ; @qlcnic_83xx_configure_opmode
	.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
	bl	_qlcnic_83xx_get_nic_configuration
Lloh0:
	adrp	x20, _EIO@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EIO@GOTPAGEOFF]
	ldr	w8, [x20]
	cmn	w0, w8
	b.eq	LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _QLC_83XX_VIRTUAL_NIC_MODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QLC_83XX_VIRTUAL_NIC_MODE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_qlcnic_83xx_config_vnic_opmode
	cbnz	x0, LBB0_5
	b	LBB0_7
LBB0_3:
Lloh5:
	adrp	x8, _QLC_83XX_DEFAULT_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QLC_83XX_DEFAULT_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_qlcnic_83xx_config_default_opmode
	cbz	x0, LBB0_7
LBB0_5:
	ldr	w8, [x20]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_QLC_83XX_VIRTUAL_NIC_MODE,4,2  ; @QLC_83XX_VIRTUAL_NIC_MODE
	.comm	_QLC_83XX_DEFAULT_MODE,4,2      ; @QLC_83XX_DEFAULT_MODE
.subsections_via_symbols
