	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scc_start_calibrate
_scc_start_calibrate:                   ## @scc_start_calibrate
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_spin_lock_irqsave
	movl	24(%rbx), %edi
	callq	_netif_stop_queue
	movq	%rbx, %rdi
	callq	_scc_discard_buffers
	leaq	8(%rbx), %r12
	movq	%r12, %rdi
	callq	_del_timer
	movq	_scc_stop_calibrate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movslq	%r15d, %rdx
	imulq	%rcx, %rdx
	addq	(%rax), %rdx
	movq	%rdx, 8(%rbx)
	movq	%r12, %rdi
	callq	_add_timer
	movq	_R6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_wr
	movq	_R7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_wr
	movl	4(%rbx), %edi
	movq	_RES_EXT_INT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_Outb
	movl	4(%rbx), %edi
	movl	(%r14), %esi
	callq	_Outb
	movq	_TX_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_scc_key_trx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_scc_stop_calibrate,4,2         ## @scc_stop_calibrate
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_R6,4,2                         ## @R6
	.comm	_R7,4,2                         ## @R7
	.comm	_RES_EXT_INT,4,2                ## @RES_EXT_INT
	.comm	_TX_ON,4,2                      ## @TX_ON
	.no_dead_strip	_scc_start_calibrate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scc_start_calibrate
_scc_start_calibrate:                   ; @scc_start_calibrate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
	ldr	w0, [x19, #24]
	bl	_netif_stop_queue
	mov	x0, x19
	bl	_scc_discard_buffers
	add	x22, x19, #8
	mov	x0, x22
	bl	_del_timer
Lloh0:
	adrp	x8, _scc_stop_calibrate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scc_stop_calibrate@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _HZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh8:
	ldrsw	x9, [x9]
	sxtw	x10, w21
	madd	x8, x9, x10, x8
	str	x8, [x19, #8]
	mov	x0, x22
	bl	_add_timer
Lloh9:
	adrp	x8, _R6@GOTPAGE
Lloh10:
	ldr	x8, [x8, _R6@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_wr
Lloh12:
	adrp	x8, _R7@GOTPAGE
Lloh13:
	ldr	x8, [x8, _R7@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_wr
	ldr	w0, [x19, #4]
Lloh15:
	adrp	x20, _RES_EXT_INT@GOTPAGE
Lloh16:
	ldr	x20, [x20, _RES_EXT_INT@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_Outb
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_Outb
Lloh17:
	adrp	x8, _TX_ON@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TX_ON@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_scc_key_trx
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_scc_stop_calibrate,4,2         ; @scc_stop_calibrate
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_R6,4,2                         ; @R6
	.comm	_R7,4,2                         ; @R7
	.comm	_RES_EXT_INT,4,2                ; @RES_EXT_INT
	.comm	_TX_ON,4,2                      ; @TX_ON
	.no_dead_strip	_scc_start_calibrate
.subsections_via_symbols
