	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_set_eswitch_port_features ## -- Begin function qlcnic_set_eswitch_port_features
	.p2align	4, 0x90
_qlcnic_set_eswitch_port_features:      ## @qlcnic_set_eswitch_port_features
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_QLCNIC_MACSPOOF@GOTPCREL(%rip), %rcx
	movq	_QLCNIC_MAC_OVERRIDE_DISABLED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	orl	(%rcx), %eax
	movq	_QLCNIC_PROMISC_DISABLED@GOTPCREL(%rip), %r8
	orl	(%r8), %eax
	notl	%eax
	andl	(%rdi), %eax
	movl	%eax, (%rdi)
	cmpq	$0, 8(%rsi)
	je	LBB0_2
## %bb.1:
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_2:
	cmpl	$0, 4(%rsi)
	je	LBB0_3
## %bb.4:
	cmpl	$0, (%rsi)
	je	LBB0_5
LBB0_6:
	popq	%rbp
	retq
LBB0_3:
	orl	(%rdx), %eax
	movl	%eax, (%rdi)
	cmpl	$0, (%rsi)
	jne	LBB0_6
LBB0_5:
	orl	(%r8), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_MACSPOOF,4,2            ## @QLCNIC_MACSPOOF
	.comm	_QLCNIC_MAC_OVERRIDE_DISABLED,4,2 ## @QLCNIC_MAC_OVERRIDE_DISABLED
	.comm	_QLCNIC_PROMISC_DISABLED,4,2    ## @QLCNIC_PROMISC_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_set_eswitch_port_features ; -- Begin function qlcnic_set_eswitch_port_features
	.p2align	2
_qlcnic_set_eswitch_port_features:      ; @qlcnic_set_eswitch_port_features
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x11, _QLCNIC_MACSPOOF@GOTPAGE
Lloh1:
	ldr	x11, [x11, _QLCNIC_MACSPOOF@GOTPAGEOFF]
	ldr	w8, [x11]
Lloh2:
	adrp	x10, _QLCNIC_MAC_OVERRIDE_DISABLED@GOTPAGE
Lloh3:
	ldr	x10, [x10, _QLCNIC_MAC_OVERRIDE_DISABLED@GOTPAGEOFF]
	ldr	w9, [x10]
	orr	w9, w9, w8
Lloh4:
	adrp	x8, _QLCNIC_PROMISC_DISABLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QLCNIC_PROMISC_DISABLED@GOTPAGEOFF]
	ldr	w12, [x8]
	orr	w9, w9, w12
	ldr	w12, [x0]
	bic	w9, w12, w9
	str	w9, [x0]
	ldr	x12, [x1, #8]
	cbz	x12, LBB0_2
; %bb.1:
	ldr	w11, [x11]
	orr	w9, w11, w9
	str	w9, [x0]
LBB0_2:
	ldr	w11, [x1, #4]
	cbz	w11, LBB0_5
; %bb.3:
	ldr	w10, [x1]
	cbz	w10, LBB0_6
LBB0_4:
	ret
LBB0_5:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x0]
	ldr	w10, [x1]
	cbnz	w10, LBB0_4
LBB0_6:
	ldr	w8, [x8]
	orr	w8, w9, w8
	str	w8, [x0]
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_MACSPOOF,4,2            ; @QLCNIC_MACSPOOF
	.comm	_QLCNIC_MAC_OVERRIDE_DISABLED,4,2 ; @QLCNIC_MAC_OVERRIDE_DISABLED
	.comm	_QLCNIC_PROMISC_DISABLED,4,2    ; @QLCNIC_PROMISC_DISABLED
.subsections_via_symbols
