	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_run_relock
_qib_run_relock:                        ## @qib_run_relock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_relock_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	movq	_QIB_INITTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	8(%rdi), %rax
	movq	_QIBL_IB_AUTONEG_INPROG@GOTPCREL(%rip), %rcx
	movq	_QIBL_LINKINIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %eax
	movq	_QIBL_LINKARMED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_2
LBB0_6:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_2:
	movq	_qib_relock_by_timer@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_5
## %bb.3:
	movq	_QIBL_IB_LINK_DISABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.4:
	callq	_toggle_7220_rclkrls
LBB0_5:
	movl	(%rbx), %eax
	addl	%eax, %eax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	cmovgel	%ecx, %eax
	movl	%eax, (%rbx)
LBB0_7:
	addq	$4, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movslq	%eax, %rsi
	addq	(%rcx), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_relock_timer,4,2               ## @relock_timer
	.comm	_QIB_INITTED,4,2                ## @QIB_INITTED
	.comm	_QIBL_IB_AUTONEG_INPROG,4,2     ## @QIBL_IB_AUTONEG_INPROG
	.comm	_QIBL_LINKINIT,4,2              ## @QIBL_LINKINIT
	.comm	_QIBL_LINKARMED,4,2             ## @QIBL_LINKARMED
	.comm	_QIBL_LINKACTIVE,4,2            ## @QIBL_LINKACTIVE
	.comm	_qib_relock_by_timer,8,3        ## @qib_relock_by_timer
	.comm	_QIBL_IB_LINK_DISABLED,4,2      ## @QIBL_IB_LINK_DISABLED
	.comm	_HZ,4,2                         ## @HZ
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_cs,8,3                         ## @cs
	.no_dead_strip	_qib_run_relock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_run_relock
_qib_run_relock:                        ; @qib_run_relock
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _relock_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _relock_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _QIB_INITTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QIB_INITTED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _QIBL_IB_AUTONEG_INPROG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QIBL_IB_AUTONEG_INPROG@GOTPAGEOFF]
Lloh8:
	adrp	x10, _QIBL_LINKINIT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _QIBL_LINKINIT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _QIBL_LINKARMED@GOTPAGE
Lloh13:
	ldr	x10, [x10, _QIBL_LINKARMED@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh15:
	adrp	x10, _QIBL_LINKACTIVE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _QIBL_LINKACTIVE@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
Lloh18:
	adrp	x8, _HZ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	b	LBB0_7
LBB0_3:
Lloh21:
	adrp	x9, _qib_relock_by_timer@GOTPAGE
Lloh22:
	ldr	x9, [x9, _qib_relock_by_timer@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cbz	x9, LBB0_6
; %bb.4:
Lloh24:
	adrp	x9, _QIBL_IB_LINK_DISABLED@GOTPAGE
Lloh25:
	ldr	x9, [x9, _QIBL_IB_LINK_DISABLED@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
	bl	_toggle_7220_rclkrls
LBB0_6:
	ldr	w8, [x19]
	lsl	w8, w8, #1
Lloh27:
	adrp	x9, _HZ@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w8, w8, w9, lt
	str	w8, [x19]
LBB0_7:
	add	x0, x19, #4
Lloh30:
	adrp	x9, _jiffies@GOTPAGE
Lloh31:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, w8, sxtw
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_timer
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_relock_timer,4,2               ; @relock_timer
	.comm	_QIB_INITTED,4,2                ; @QIB_INITTED
	.comm	_QIBL_IB_AUTONEG_INPROG,4,2     ; @QIBL_IB_AUTONEG_INPROG
	.comm	_QIBL_LINKINIT,4,2              ; @QIBL_LINKINIT
	.comm	_QIBL_LINKARMED,4,2             ; @QIBL_LINKARMED
	.comm	_QIBL_LINKACTIVE,4,2            ; @QIBL_LINKACTIVE
	.comm	_qib_relock_by_timer,8,3        ; @qib_relock_by_timer
	.comm	_QIBL_IB_LINK_DISABLED,4,2      ; @QIBL_IB_LINK_DISABLED
	.comm	_HZ,4,2                         ; @HZ
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_cs,8,3                         ; @cs
	.no_dead_strip	_qib_run_relock
.subsections_via_symbols
