	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_set_pauseparam
_qlcnic_set_pauseparam:                 ## @qlcnic_set_pauseparam
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r13
	movq	(%rax), %rax
	movl	(%rax), %r15d
	movl	$0, -44(%rbp)
	movq	%r13, %rdi
	callq	_qlcnic_83xx_check
	testq	%rax, %rax
	je	LBB0_1
## %bb.46:
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qlcnic_83xx_set_pauseparam     ## TAILCALL
LBB0_1:
	movq	(%r13), %rax
	movq	8(%rax), %rdx
	movq	_QLCNIC_GBE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_28
## %bb.2:
	testl	%r15d, %r15d
	js	LBB0_4
## %bb.3:
	movq	_QLCNIC_NIU_MAX_GBE_PORTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jg	LBB0_4
## %bb.6:
	movl	%r15d, %edi
	callq	_QLCNIC_NIU_GB_MAC_CONFIG_0
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_QLCRD32
	movl	%eax, %r12d
	movl	-44(%rbp), %eax
	movq	_EIO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	addl	%eax, %ecx
	je	LBB0_45
## %bb.7:
	cmpq	$0, 16(%r14)
	je	LBB0_9
## %bb.8:
	movl	%r12d, %edi
	callq	_qlcnic_gb_rx_flowctl
	jmp	LBB0_10
LBB0_28:
	movq	_QLCNIC_XGBE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_43
## %bb.29:
	cmpq	$0, 16(%r14)
	je	LBB0_31
## %bb.30:
	cmpq	$0, 8(%r14)
	je	LBB0_32
LBB0_31:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_43:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
LBB0_44:
	xorl	%eax, %eax
	jmp	LBB0_45
LBB0_32:
	testl	%r15d, %r15d
	js	LBB0_4
## %bb.33:
	movq	_QLCNIC_NIU_MAX_XG_PORTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jg	LBB0_4
## %bb.34:
	movq	_QLCNIC_NIU_XG_PAUSE_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	callq	_QLCRD32
	movl	%eax, %r12d
	movl	-44(%rbp), %eax
	movq	_EIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_45
## %bb.35:
	movq	(%r14), %rax
	movl	%r12d, %edi
	testl	%r15d, %r15d
	je	LBB0_36
## %bb.39:
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:
	callq	_qlcnic_xg_unset_xg1_mask
	jmp	LBB0_42
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_45:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%r12d, %edi
	callq	_qlcnic_gb_unset_rx_flowctl
LBB0_10:
	movl	%r15d, %edi
	callq	_QLCNIC_NIU_GB_MAC_CONFIG_0
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_QLCWR32
	movl	%r15d, %edi
	callq	_QLCNIC_NIU_GB_MAC_CONFIG_0
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_QLCWR32
	movq	_QLCNIC_NIU_GB_PAUSE_CTL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	callq	_QLCRD32
	movl	%eax, %edi
	movl	-44(%rbp), %eax
	movl	(%rbx), %ecx
	addl	%eax, %ecx
	je	LBB0_45
## %bb.11:
	cmpl	$2, %r15d
	je	LBB0_20
## %bb.12:
	cmpl	$1, %r15d
	je	LBB0_17
## %bb.13:
	testl	%r15d, %r15d
	jne	LBB0_23
## %bb.14:
	cmpq	$0, (%r14)
	je	LBB0_16
## %bb.15:
	movl	%edi, %ebx
	callq	_qlcnic_gb_unset_gb0_mask
	jmp	LBB0_26
LBB0_20:
	cmpq	$0, (%r14)
	je	LBB0_22
## %bb.21:
	movl	%edi, %ebx
	callq	_qlcnic_gb_unset_gb2_mask
	jmp	LBB0_26
LBB0_17:
	cmpq	$0, (%r14)
	je	LBB0_19
## %bb.18:
	movl	%edi, %ebx
	callq	_qlcnic_gb_unset_gb1_mask
	jmp	LBB0_26
LBB0_23:
	cmpq	$0, (%r14)
	je	LBB0_25
## %bb.24:
	movl	%edi, %ebx
	callq	_qlcnic_gb_unset_gb3_mask
	jmp	LBB0_26
LBB0_16:
	movl	%edi, %ebx
	callq	_qlcnic_gb_set_gb0_mask
	jmp	LBB0_26
LBB0_22:
	movl	%edi, %ebx
	callq	_qlcnic_gb_set_gb2_mask
	jmp	LBB0_26
LBB0_19:
	movl	%edi, %ebx
	callq	_qlcnic_gb_set_gb1_mask
	jmp	LBB0_26
LBB0_25:
	movl	%edi, %ebx
	callq	_qlcnic_gb_set_gb3_mask
LBB0_26:
	movl	%ebx, %edx
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_QLCWR32
	jmp	LBB0_44
LBB0_36:
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	callq	_qlcnic_xg_unset_xg0_mask
	jmp	LBB0_42
LBB0_41:
	callq	_qlcnic_xg_set_xg1_mask
	jmp	LBB0_42
LBB0_38:
	callq	_qlcnic_xg_set_xg0_mask
LBB0_42:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_QLCWR32
	jmp	LBB0_44
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_GBE,8,3                 ## @QLCNIC_GBE
	.comm	_QLCNIC_NIU_MAX_GBE_PORTS,4,2   ## @QLCNIC_NIU_MAX_GBE_PORTS
	.comm	_EIO,4,2                        ## @EIO
	.comm	_QLCNIC_NIU_GB_PAUSE_CTL,4,2    ## @QLCNIC_NIU_GB_PAUSE_CTL
	.comm	_QLCNIC_XGBE,8,3                ## @QLCNIC_XGBE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_QLCNIC_NIU_MAX_XG_PORTS,4,2    ## @QLCNIC_NIU_MAX_XG_PORTS
	.comm	_QLCNIC_NIU_XG_PAUSE_CTL,4,2    ## @QLCNIC_NIU_XG_PAUSE_CTL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown board type: %x\n"

	.no_dead_strip	_qlcnic_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_set_pauseparam
_qlcnic_set_pauseparam:                 ; @qlcnic_set_pauseparam
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x22, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w21, [x8]
	str	wzr, [sp, #12]
	bl	_qlcnic_83xx_check
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_qlcnic_83xx_set_pauseparam
LBB0_2:
	ldr	x8, [x19]
	ldr	x2, [x8, #8]
Lloh0:
	adrp	x8, _QLCNIC_GBE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_GBE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_8
; %bb.3:
	tbnz	w21, #31, LBB0_19
; %bb.4:
Lloh3:
	adrp	x8, _QLCNIC_NIU_MAX_GBE_PORTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_NIU_MAX_GBE_PORTS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w21, w8
	b.gt	LBB0_19
; %bb.5:
	mov	x0, x21
	bl	_QLCNIC_NIU_GB_MAC_CONFIG_0
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x19
	bl	_QLCRD32
	mov	x22, x0
	ldr	w0, [sp, #12]
Lloh6:
	adrp	x24, _EIO@GOTPAGE
Lloh7:
	ldr	x24, [x24, _EIO@GOTPAGEOFF]
	ldr	w8, [x24]
	cmn	w0, w8
	b.eq	LBB0_44
; %bb.6:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_21
; %bb.7:
	mov	x0, x22
	bl	_qlcnic_gb_rx_flowctl
	b	LBB0_22
LBB0_8:
Lloh8:
	adrp	x8, _QLCNIC_XGBE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QLCNIC_XGBE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_12
; %bb.9:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
LBB0_11:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_20
LBB0_12:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	b	LBB0_43
LBB0_13:
	tbnz	w21, #31, LBB0_19
; %bb.14:
Lloh15:
	adrp	x8, _QLCNIC_NIU_MAX_XG_PORTS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QLCNIC_NIU_MAX_XG_PORTS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w21, w8
	b.gt	LBB0_19
; %bb.15:
Lloh18:
	adrp	x23, _QLCNIC_NIU_XG_PAUSE_CTL@GOTPAGE
Lloh19:
	ldr	x23, [x23, _QLCNIC_NIU_XG_PAUSE_CTL@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	mov	x0, x19
	bl	_QLCRD32
	mov	x22, x0
	ldr	w0, [sp, #12]
Lloh20:
	adrp	x8, _EIO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_44
; %bb.16:
	ldr	x8, [x20]
	mov	x0, x22
	cbz	w21, LBB0_38
; %bb.17:
	cbz	x8, LBB0_40
; %bb.18:
	bl	_qlcnic_xg_unset_xg1_mask
	b	LBB0_42
LBB0_19:
Lloh23:
	adrp	x8, _EIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_44
LBB0_21:
	mov	x0, x22
	bl	_qlcnic_gb_unset_rx_flowctl
LBB0_22:
	mov	x0, x21
	bl	_QLCNIC_NIU_GB_MAC_CONFIG_0
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_QLCWR32
	mov	x0, x21
	bl	_QLCNIC_NIU_GB_MAC_CONFIG_0
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_QLCWR32
Lloh25:
	adrp	x23, _QLCNIC_NIU_GB_PAUSE_CTL@GOTPAGE
Lloh26:
	ldr	x23, [x23, _QLCNIC_NIU_GB_PAUSE_CTL@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	mov	x0, x19
	bl	_QLCRD32
	mov	x22, x0
	ldr	w0, [sp, #12]
	ldr	w8, [x24]
	cmn	w0, w8
	b.eq	LBB0_44
; %bb.23:
	cmp	w21, #2
	b.eq	LBB0_28
; %bb.24:
	cmp	w21, #1
	b.eq	LBB0_30
; %bb.25:
	cbnz	w21, LBB0_32
; %bb.26:
	ldr	x8, [x20]
	cbz	x8, LBB0_34
; %bb.27:
	mov	x0, x22
	bl	_qlcnic_gb_unset_gb0_mask
	b	LBB0_42
LBB0_28:
	ldr	x8, [x20]
	cbz	x8, LBB0_35
; %bb.29:
	mov	x0, x22
	bl	_qlcnic_gb_unset_gb2_mask
	b	LBB0_42
LBB0_30:
	ldr	x8, [x20]
	cbz	x8, LBB0_36
; %bb.31:
	mov	x0, x22
	bl	_qlcnic_gb_unset_gb1_mask
	b	LBB0_42
LBB0_32:
	ldr	x8, [x20]
	cbz	x8, LBB0_37
; %bb.33:
	mov	x0, x22
	bl	_qlcnic_gb_unset_gb3_mask
	b	LBB0_42
LBB0_34:
	mov	x0, x22
	bl	_qlcnic_gb_set_gb0_mask
	b	LBB0_42
LBB0_35:
	mov	x0, x22
	bl	_qlcnic_gb_set_gb2_mask
	b	LBB0_42
LBB0_36:
	mov	x0, x22
	bl	_qlcnic_gb_set_gb1_mask
	b	LBB0_42
LBB0_37:
	mov	x0, x22
	bl	_qlcnic_gb_set_gb3_mask
	b	LBB0_42
LBB0_38:
	cbz	x8, LBB0_41
; %bb.39:
	bl	_qlcnic_xg_unset_xg0_mask
	b	LBB0_42
LBB0_40:
	bl	_qlcnic_xg_set_xg1_mask
	b	LBB0_42
LBB0_41:
	bl	_qlcnic_xg_set_xg0_mask
LBB0_42:
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x22
	bl	_QLCWR32
LBB0_43:
	mov	w0, #0
LBB0_44:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_GBE,8,3                 ; @QLCNIC_GBE
	.comm	_QLCNIC_NIU_MAX_GBE_PORTS,4,2   ; @QLCNIC_NIU_MAX_GBE_PORTS
	.comm	_EIO,4,2                        ; @EIO
	.comm	_QLCNIC_NIU_GB_PAUSE_CTL,4,2    ; @QLCNIC_NIU_GB_PAUSE_CTL
	.comm	_QLCNIC_XGBE,8,3                ; @QLCNIC_XGBE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_QLCNIC_NIU_MAX_XG_PORTS,4,2    ; @QLCNIC_NIU_MAX_XG_PORTS
	.comm	_QLCNIC_NIU_XG_PAUSE_CTL,4,2    ; @QLCNIC_NIU_XG_PAUSE_CTL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown board type: %x\n"

	.no_dead_strip	_qlcnic_set_pauseparam
.subsections_via_symbols
