	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_store_bridged_mode
_qlcnic_store_bridged_mode:             ## @qlcnic_store_bridged_mode
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	8(%r15), %rax
	movq	_QLCNIC_FW_CAPABILITY_BDG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.1:
	movq	___QLCNIC_DEV_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_kstrtoul
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	cmpq	$0, -40(%rbp)
	setne	%sil
	movq	%r15, %rdi
	callq	_qlcnic_config_bridged_mode
	testl	%eax, %eax
	cmovel	%r14d, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QLCNIC_FW_CAPABILITY_BDG,4,2   ## @QLCNIC_FW_CAPABILITY_BDG
	.comm	___QLCNIC_DEV_UP,4,2            ## @__QLCNIC_DEV_UP
	.no_dead_strip	_qlcnic_store_bridged_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_store_bridged_mode
_qlcnic_store_bridged_mode:             ; @qlcnic_store_bridged_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x22, x2
	bl	_dev_get_drvdata
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _QLCNIC_FW_CAPABILITY_BDG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QLCNIC_FW_CAPABILITY_BDG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x8, ___QLCNIC_DEV_UP@GOTPAGE
Lloh7:
	ldr	x8, [x8, ___QLCNIC_DEV_UP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.2:
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #2
	bl	_kstrtoul
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x21
	bl	_qlcnic_config_bridged_mode
	cmp	w0, #0
	csel	w20, w19, w20, eq
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QLCNIC_FW_CAPABILITY_BDG,4,2   ; @QLCNIC_FW_CAPABILITY_BDG
	.comm	___QLCNIC_DEV_UP,4,2            ; @__QLCNIC_DEV_UP
	.no_dead_strip	_qlcnic_store_bridged_mode
.subsections_via_symbols
