	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_set_port_config
_qlcnic_set_port_config:                ## @qlcnic_set_port_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	xorl	%ecx, %ecx
	cmpq	$0, 16(%rsi)
	setne	%cl
	leal	2(%rcx), %esi
	cmpq	$0, 8(%rax)
	cmovel	%ecx, %esi
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.3:
	orl	$256, %esi                      ## imm = 0x100
	jmp	LBB0_5
LBB0_4:
	orl	$2560, %esi                     ## imm = 0xA00
LBB0_5:
	callq	_qlcnic_fw_cmd_set_port
	movq	_QLCNIC_RCODE_NOT_SUPPORTED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_7:
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_QLCNIC_RCODE_NOT_SUPPORTED,4,2 ## @QLCNIC_RCODE_NOT_SUPPORTED
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_qlcnic_set_port_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_set_port_config
_qlcnic_set_port_config:                ; @qlcnic_set_port_config
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
	ldp	x10, x9, [x1, #8]
	cmp	x9, #0
	cset	w9, ne
	orr	w11, w9, #0x2
	cmp	x10, #0
	csel	w1, w9, w11, eq
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_8
; %bb.3:
	orr	w1, w1, #0x100
	b	LBB0_5
LBB0_4:
	mov	w8, #2560
	orr	w1, w1, w8
LBB0_5:
	bl	_qlcnic_fw_cmd_set_port
Lloh0:
	adrp	x8, _QLCNIC_RCODE_NOT_SUPPORTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_RCODE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	cbz	w0, LBB0_10
LBB0_8:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_QLCNIC_RCODE_NOT_SUPPORTED,4,2 ; @QLCNIC_RCODE_NOT_SUPPORTED
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_qlcnic_set_port_config
.subsections_via_symbols
