	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unthrottle
_unthrottle:                            ## @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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movl	8(%rdi), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_sanity_check
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movslq	16(%r14), %rdi
	callq	_DBGINFO
	movq	%rbx, %rdi
	callq	_I_IXOFF
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpq	$0, 8(%r14)
	je	LBB0_4
## %bb.3:
	movq	$0, 8(%r14)
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_START_CHAR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_send_xchar
LBB0_5:
	movq	(%rbx), %rax
	movq	_CRTSCTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_SerialSignal_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	movq	%r14, %rdi
	callq	_set_signals
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unthrottle"

	.comm	_CRTSCTS,4,2                    ## @CRTSCTS
	.comm	_SerialSignal_RTS,4,2           ## @SerialSignal_RTS
	.no_dead_strip	_unthrottle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unthrottle
_unthrottle:                            ; @unthrottle
	.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
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	w1, [x0, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sanity_check
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldrsw	x0, [x19, #16]
	bl	_DBGINFO
	mov	x0, x20
	bl	_I_IXOFF
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.4:
	str	xzr, [x19, #8]
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_START_CHAR
	mov	x1, x0
	mov	x0, x20
	bl	_send_xchar
LBB0_6:
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _CRTSCTS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CRTSCTS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.7:
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh5:
	adrp	x8, _SerialSignal_RTS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SerialSignal_RTS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_set_signals
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unthrottle"

	.comm	_CRTSCTS,4,2                    ; @CRTSCTS
	.comm	_SerialSignal_RTS,4,2           ; @SerialSignal_RTS
	.no_dead_strip	_unthrottle
.subsections_via_symbols
