	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_7220_quiet_serdes
_qib_7220_quiet_serdes:                 ## @qib_7220_quiet_serdes
	.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	%rdi, %r13
	movq	(%rdi), %r14
	movq	_QLOGIC_IB_C_LINKENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	(%r14), %edx
	movl	%edx, (%r14)
	movq	_kr_control@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QLOGIC_IB_C_FREEZEMODE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_qib_write_kreg
	movq	8(%r13), %rdi
	movq	$0, 56(%rdi)
	cmpq	$0, 48(%rdi)
	je	LBB0_2
## %bb.1:
	addq	$48, %rdi
	callq	_del_timer_sync
	movq	8(%r13), %rdi
LBB0_2:
	cmpq	$0, 32(%rdi)
	jne	LBB0_5
## %bb.3:
	cmpq	$0, 8(%rdi)
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 24(%rdi)
	je	LBB0_16
LBB0_5:
	movq	_kr_hwdiagctrl@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_qib_read_kreg64
	movl	%eax, %r15d
	movl	(%rbx), %r12d
	movq	_HwDiagCtrl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CounterWrEnable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SYM_MASK
	orl	%r15d, %eax
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_qib_write_kreg
	movq	8(%r13), %rax
	cmpq	$0, 32(%rax)
	jne	LBB0_7
## %bb.6:
	cmpq	$0, 24(%rax)
	je	LBB0_10
LBB0_7:
	movq	_cr_ibsymbolerr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_read_7220_creg32
	movq	8(%r13), %rcx
	cmpq	$0, 24(%rcx)
	je	LBB0_9
## %bb.8:
	movl	40(%rcx), %eax
LBB0_9:
	subl	32(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_write_7220_creg
	movq	8(%r13), %rax
LBB0_10:
	cmpq	$0, 8(%rax)
	jne	LBB0_12
## %bb.11:
	cmpq	$0, 24(%rax)
	je	LBB0_15
LBB0_12:
	movq	_cr_iblinkerrrecov@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_read_7220_creg32
	movq	8(%r13), %rcx
	cmpq	$0, 24(%rcx)
	je	LBB0_14
## %bb.13:
	movl	16(%rcx), %eax
LBB0_14:
	subl	8(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_write_7220_creg
LBB0_15:
	movq	_kr_hwdiagctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_qib_write_kreg
LBB0_16:
	movq	_QLOGIC_IB_IBCC_LINKINITCMD_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_qib_set_ib_7220_lstate
	leaq	16(%r13), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_QIBL_IB_AUTONEG_INPROG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 20(%r13)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	8(%r13), %rdi
	addq	$4, %rdi
	callq	_wake_up
	movq	8(%r13), %rdi
	callq	_cancel_delayed_work_sync
	movq	(%r13), %rdi
	callq	_shutdown_7220_relock_poll
	movq	(%r13), %rdi
	movq	_kr_xgxs_cfg@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_qib_read_kreg64
	movq	_QLOGIC_IB_XGXS_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r13), %rdi
	movl	(%rbx), %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qib_write_kreg                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLOGIC_IB_C_LINKENABLE,4,2     ## @QLOGIC_IB_C_LINKENABLE
	.comm	_kr_control,4,2                 ## @kr_control
	.comm	_QLOGIC_IB_C_FREEZEMODE,4,2     ## @QLOGIC_IB_C_FREEZEMODE
	.comm	_kr_hwdiagctrl,4,2              ## @kr_hwdiagctrl
	.comm	_HwDiagCtrl,4,2                 ## @HwDiagCtrl
	.comm	_CounterWrEnable,4,2            ## @CounterWrEnable
	.comm	_cr_ibsymbolerr,4,2             ## @cr_ibsymbolerr
	.comm	_cr_iblinkerrrecov,4,2          ## @cr_iblinkerrrecov
	.comm	_QLOGIC_IB_IBCC_LINKINITCMD_DISABLE,4,2 ## @QLOGIC_IB_IBCC_LINKINITCMD_DISABLE
	.comm	_QIBL_IB_AUTONEG_INPROG,4,2     ## @QIBL_IB_AUTONEG_INPROG
	.comm	_kr_xgxs_cfg,4,2                ## @kr_xgxs_cfg
	.comm	_QLOGIC_IB_XGXS_RESET,4,2       ## @QLOGIC_IB_XGXS_RESET
	.no_dead_strip	_qib_7220_quiet_serdes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_7220_quiet_serdes
_qib_7220_quiet_serdes:                 ; @qib_7220_quiet_serdes
	.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	x19, x0
Lloh0:
	adrp	x8, _QLOGIC_IB_C_LINKENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLOGIC_IB_C_LINKENABLE@GOTPAGEOFF]
	ldr	x20, [x0]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
Lloh3:
	adrp	x9, _kr_control@GOTPAGE
Lloh4:
	ldr	x9, [x9, _kr_control@GOTPAGEOFF]
	str	w8, [x20]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x9, _QLOGIC_IB_C_FREEZEMODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QLOGIC_IB_C_FREEZEMODE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_qib_write_kreg
	ldr	x8, [x19, #8]
	str	xzr, [x8, #56]
	mov	x0, x8
	ldr	x9, [x0, #48]!
	cbz	x9, LBB0_2
; %bb.1:
	bl	_del_timer_sync
	ldr	x8, [x19, #8]
LBB0_2:
	ldr	x9, [x8, #32]
	cbnz	x9, LBB0_5
; %bb.3:
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_5
; %bb.4:
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_16
LBB0_5:
Lloh9:
	adrp	x23, _kr_hwdiagctrl@GOTPAGE
Lloh10:
	ldr	x23, [x23, _kr_hwdiagctrl@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_qib_read_kreg64
	mov	x21, x0
	ldr	w22, [x23]
Lloh11:
	adrp	x8, _HwDiagCtrl@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HwDiagCtrl@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _CounterWrEnable@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CounterWrEnable@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_SYM_MASK
	orr	w2, w0, w21
	mov	x0, x20
	mov	x1, x22
	bl	_qib_write_kreg
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #32]
	cbnz	x9, LBB0_7
; %bb.6:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_10
LBB0_7:
Lloh17:
	adrp	x22, _cr_ibsymbolerr@GOTPAGE
Lloh18:
	ldr	x22, [x22, _cr_ibsymbolerr@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_read_7220_creg32
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_9
; %bb.8:
	ldr	w0, [x8, #40]
LBB0_9:
	ldr	w8, [x8, #32]
	sub	w2, w0, w8
	ldr	w1, [x22]
	mov	x0, x20
	bl	_write_7220_creg
	ldr	x8, [x19, #8]
LBB0_10:
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_12
; %bb.11:
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_15
LBB0_12:
Lloh19:
	adrp	x22, _cr_iblinkerrrecov@GOTPAGE
Lloh20:
	ldr	x22, [x22, _cr_iblinkerrrecov@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_read_7220_creg32
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_14
; %bb.13:
	ldr	w0, [x8, #16]
LBB0_14:
	ldr	w8, [x8, #8]
	sub	w2, w0, w8
	ldr	w1, [x22]
	mov	x0, x20
	bl	_write_7220_creg
LBB0_15:
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x21
	bl	_qib_write_kreg
LBB0_16:
Lloh21:
	adrp	x8, _QLOGIC_IB_IBCC_LINKINITCMD_DISABLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _QLOGIC_IB_IBCC_LINKINITCMD_DISABLE@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_qib_set_ib_7220_lstate
	add	x20, x19, #16
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh24:
	adrp	x8, _QIBL_IB_AUTONEG_INPROG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _QIBL_IB_AUTONEG_INPROG@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	bic	w8, w9, w8
	str	w8, [x19, #20]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x8, [x19, #8]
	add	x0, x8, #4
	bl	_wake_up
	ldr	x0, [x19, #8]
	bl	_cancel_delayed_work_sync
	ldr	x0, [x19]
	bl	_shutdown_7220_relock_poll
	ldr	x0, [x19]
Lloh27:
	adrp	x20, _kr_xgxs_cfg@GOTPAGE
Lloh28:
	ldr	x20, [x20, _kr_xgxs_cfg@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_qib_read_kreg64
Lloh29:
	adrp	x8, _QLOGIC_IB_XGXS_RESET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _QLOGIC_IB_XGXS_RESET@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	x0, [x19]
	ldr	w1, [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	_qib_write_kreg
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_QLOGIC_IB_C_LINKENABLE,4,2     ; @QLOGIC_IB_C_LINKENABLE
	.comm	_kr_control,4,2                 ; @kr_control
	.comm	_QLOGIC_IB_C_FREEZEMODE,4,2     ; @QLOGIC_IB_C_FREEZEMODE
	.comm	_kr_hwdiagctrl,4,2              ; @kr_hwdiagctrl
	.comm	_HwDiagCtrl,4,2                 ; @HwDiagCtrl
	.comm	_CounterWrEnable,4,2            ; @CounterWrEnable
	.comm	_cr_ibsymbolerr,4,2             ; @cr_ibsymbolerr
	.comm	_cr_iblinkerrrecov,4,2          ; @cr_iblinkerrrecov
	.comm	_QLOGIC_IB_IBCC_LINKINITCMD_DISABLE,4,2 ; @QLOGIC_IB_IBCC_LINKINITCMD_DISABLE
	.comm	_QIBL_IB_AUTONEG_INPROG,4,2     ; @QIBL_IB_AUTONEG_INPROG
	.comm	_kr_xgxs_cfg,4,2                ; @kr_xgxs_cfg
	.comm	_QLOGIC_IB_XGXS_RESET,4,2       ; @QLOGIC_IB_XGXS_RESET
	.no_dead_strip	_qib_7220_quiet_serdes
.subsections_via_symbols
