	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sx_unthrottle
_sx_unthrottle:                         ## @sx_unthrottle
	.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
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	xorl	%eax, %eax
	callq	_func_enter
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_sx_paranoia_check
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	callq	_port_Board
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_sx_crtscts
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MSVR_DTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
LBB0_3:
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_CD186x_CAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_port_No
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_sx_out
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_I_IXOFF
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_sx_wait_CCR
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_CD186x_CCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CCR_SSCH1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_sx_out
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_sx_wait_CCR
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
LBB0_5:
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_CD186x_MSVR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%r15, %rdi
	callq	_sx_out
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_func_exit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sx_unthrottle"

	.comm	_MSVR_DTR,4,2                   ## @MSVR_DTR
	.comm	_CD186x_CAR,4,2                 ## @CD186x_CAR
	.comm	_CD186x_CCR,4,2                 ## @CD186x_CCR
	.comm	_CCR_SSCH1,4,2                  ## @CCR_SSCH1
	.comm	_CD186x_MSVR,4,2                ## @CD186x_MSVR
	.no_dead_strip	_sx_unthrottle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sx_unthrottle
_sx_unthrottle:                         ; @sx_unthrottle
	.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	x21, x0
	ldr	x19, [x0, #8]
	bl	_func_enter
	ldr	w1, [x21]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sx_paranoia_check
	cbnz	x0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_port_Board
	mov	x20, x0
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x21
	bl	_sx_crtscts
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _MSVR_DTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSVR_DTR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_3:
	mov	x0, x20
	bl	_spin_lock
Lloh5:
	adrp	x8, _CD186x_CAR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CD186x_CAR@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_port_No
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_sx_out
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x21
	bl	_I_IXOFF
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_sx_wait_CCR
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh8:
	adrp	x8, _CD186x_CCR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CD186x_CCR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _CCR_SSCH1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CCR_SSCH1@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_sx_out
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_sx_wait_CCR
	mov	x0, x19
	bl	_spin_lock_irqsave
LBB0_5:
	mov	x0, x20
	bl	_spin_lock
Lloh14:
	adrp	x8, _CD186x_MSVR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CD186x_MSVR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_sx_out
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_6:
	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	_func_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sx_unthrottle"

	.comm	_MSVR_DTR,4,2                   ; @MSVR_DTR
	.comm	_CD186x_CAR,4,2                 ; @CD186x_CAR
	.comm	_CD186x_CCR,4,2                 ; @CD186x_CCR
	.comm	_CCR_SSCH1,4,2                  ; @CCR_SSCH1
	.comm	_CD186x_MSVR,4,2                ; @CD186x_MSVR
	.no_dead_strip	_sx_unthrottle
.subsections_via_symbols
