	.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
	movq	%r13, %rdi
	callq	_qlcnic_83xx_check
	testq	%rax, %rax
	je	LBB0_1
## %bb.41:
	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_25
## %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
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_QLCRD32
	movl	%eax, %r12d
	cmpq	$0, 16(%r14)
	je	LBB0_8
## %bb.7:
	movl	%r12d, %edi
	callq	_qlcnic_gb_rx_flowctl
	jmp	LBB0_9
LBB0_25:
	movq	_QLCNIC_XGBE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_38
## %bb.26:
	cmpq	$0, 16(%r14)
	je	LBB0_28
## %bb.27:
	cmpq	$0, 8(%r14)
	je	LBB0_29
LBB0_28:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_38:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	jmp	LBB0_39
LBB0_8:
	movl	%r12d, %edi
	callq	_qlcnic_gb_unset_rx_flowctl
LBB0_9:
	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), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_QLCRD32
	movl	%eax, %r12d
	cmpl	$2, %r15d
	je	LBB0_18
## %bb.10:
	cmpl	$1, %r15d
	je	LBB0_15
## %bb.11:
	testl	%r15d, %r15d
	jne	LBB0_21
## %bb.12:
	cmpq	$0, (%r14)
	je	LBB0_14
## %bb.13:
	movl	%r12d, %edi
	callq	_qlcnic_gb_unset_gb0_mask
	jmp	LBB0_24
LBB0_18:
	cmpq	$0, (%r14)
	je	LBB0_20
## %bb.19:
	movl	%r12d, %edi
	callq	_qlcnic_gb_unset_gb2_mask
	jmp	LBB0_24
LBB0_15:
	cmpq	$0, (%r14)
	je	LBB0_17
## %bb.16:
	movl	%r12d, %edi
	callq	_qlcnic_gb_unset_gb1_mask
	jmp	LBB0_24
LBB0_21:
	cmpq	$0, (%r14)
	je	LBB0_23
## %bb.22:
	movl	%r12d, %edi
	callq	_qlcnic_gb_unset_gb3_mask
	jmp	LBB0_24
LBB0_29:
	testl	%r15d, %r15d
	js	LBB0_4
## %bb.30:
	movq	_QLCNIC_NIU_MAX_XG_PORTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jg	LBB0_4
## %bb.31:
	movq	_QLCNIC_NIU_XG_PAUSE_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_QLCRD32
	movl	%eax, %r12d
	movq	(%r14), %rax
	movl	%r12d, %edi
	testl	%r15d, %r15d
	je	LBB0_32
## %bb.35:
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	callq	_qlcnic_xg_unset_xg1_mask
	jmp	LBB0_24
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_40
LBB0_14:
	movl	%r12d, %edi
	callq	_qlcnic_gb_set_gb0_mask
	jmp	LBB0_24
LBB0_20:
	movl	%r12d, %edi
	callq	_qlcnic_gb_set_gb2_mask
	jmp	LBB0_24
LBB0_17:
	movl	%r12d, %edi
	callq	_qlcnic_gb_set_gb1_mask
	jmp	LBB0_24
LBB0_23:
	movl	%r12d, %edi
	callq	_qlcnic_gb_set_gb3_mask
	jmp	LBB0_24
LBB0_32:
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	callq	_qlcnic_xg_unset_xg0_mask
	jmp	LBB0_24
LBB0_37:
	callq	_qlcnic_xg_set_xg1_mask
	jmp	LBB0_24
LBB0_34:
	callq	_qlcnic_xg_set_xg0_mask
LBB0_24:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_QLCWR32
LBB0_39:
	xorl	%eax, %eax
LBB0_40:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.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]
	bl	_qlcnic_83xx_check
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, 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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	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_7
; %bb.3:
	tbnz	w21, #31, LBB0_29
; %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_29
; %bb.5:
	mov	x0, x21
	bl	_QLCNIC_NIU_GB_MAC_CONFIG_0
	mov	x1, x0
	mov	x0, x19
	bl	_QLCRD32
	mov	x22, x0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_12
; %bb.6:
	mov	x0, x22
	bl	_qlcnic_gb_rx_flowctl
	b	LBB0_13
LBB0_7:
Lloh6:
	adrp	x8, _QLCNIC_XGBE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_XGBE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_24
LBB0_10:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_30
LBB0_11:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	b	LBB0_40
LBB0_12:
	mov	x0, x22
	bl	_qlcnic_gb_unset_rx_flowctl
LBB0_13:
	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
Lloh13:
	adrp	x23, _QLCNIC_NIU_GB_PAUSE_CTL@GOTPAGE
Lloh14:
	ldr	x23, [x23, _QLCNIC_NIU_GB_PAUSE_CTL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_QLCRD32
	mov	x22, x0
	cmp	w21, #2
	b.eq	LBB0_18
; %bb.14:
	cmp	w21, #1
	b.eq	LBB0_20
; %bb.15:
	cbnz	w21, LBB0_22
; %bb.16:
	ldr	x8, [x20]
	cbz	x8, LBB0_31
; %bb.17:
	mov	x0, x22
	bl	_qlcnic_gb_unset_gb0_mask
	b	LBB0_39
LBB0_18:
	ldr	x8, [x20]
	cbz	x8, LBB0_32
; %bb.19:
	mov	x0, x22
	bl	_qlcnic_gb_unset_gb2_mask
	b	LBB0_39
LBB0_20:
	ldr	x8, [x20]
	cbz	x8, LBB0_33
; %bb.21:
	mov	x0, x22
	bl	_qlcnic_gb_unset_gb1_mask
	b	LBB0_39
LBB0_22:
	ldr	x8, [x20]
	cbz	x8, LBB0_34
; %bb.23:
	mov	x0, x22
	bl	_qlcnic_gb_unset_gb3_mask
	b	LBB0_39
LBB0_24:
	tbnz	w21, #31, LBB0_29
; %bb.25:
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_29
; %bb.26:
Lloh18:
	adrp	x23, _QLCNIC_NIU_XG_PAUSE_CTL@GOTPAGE
Lloh19:
	ldr	x23, [x23, _QLCNIC_NIU_XG_PAUSE_CTL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_QLCRD32
	mov	x22, x0
	ldr	x8, [x20]
	cbz	w21, LBB0_35
; %bb.27:
	cbz	x8, LBB0_37
; %bb.28:
	bl	_qlcnic_xg_unset_xg1_mask
	b	LBB0_39
LBB0_29:
Lloh20:
	adrp	x8, _EIO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_30:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_41
LBB0_31:
	mov	x0, x22
	bl	_qlcnic_gb_set_gb0_mask
	b	LBB0_39
LBB0_32:
	mov	x0, x22
	bl	_qlcnic_gb_set_gb2_mask
	b	LBB0_39
LBB0_33:
	mov	x0, x22
	bl	_qlcnic_gb_set_gb1_mask
	b	LBB0_39
LBB0_34:
	mov	x0, x22
	bl	_qlcnic_gb_set_gb3_mask
	b	LBB0_39
LBB0_35:
	cbz	x8, LBB0_38
; %bb.36:
	bl	_qlcnic_xg_unset_xg0_mask
	b	LBB0_39
LBB0_37:
	bl	_qlcnic_xg_set_xg1_mask
	b	LBB0_39
LBB0_38:
	bl	_qlcnic_xg_set_xg0_mask
LBB0_39:
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x22
	bl	_QLCWR32
LBB0_40:
	mov	w0, #0
LBB0_41:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.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
