	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdio_uart_unthrottle
_sdio_uart_unthrottle:                  ## @sdio_uart_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	(%rdi), %r14
	callq	_I_IXOFF
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_C_CRTSCTS
	testq	%rax, %rax
	je	LBB0_10
LBB0_2:
	movq	%r14, %rdi
	callq	_sdio_uart_claim_func
	testq	%rax, %rax
	je	LBB0_3
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_I_IXOFF
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	cmpq	$0, 8(%r14)
	je	LBB0_6
## %bb.5:
	movq	$0, 8(%r14)
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_START_CHAR
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	callq	_sdio_uart_start_tx
LBB0_7:
	movq	%rbx, %rdi
	callq	_C_CRTSCTS
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_TIOCM_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sdio_uart_set_mctrl
LBB0_9:
	movl	(%r14), %edi
	callq	_sdio_uart_irq
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sdio_uart_release_func         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TIOCM_RTS,4,2                  ## @TIOCM_RTS
	.no_dead_strip	_sdio_uart_unthrottle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdio_uart_unthrottle
_sdio_uart_unthrottle:                  ; @sdio_uart_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]
	bl	_I_IXOFF
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_C_CRTSCTS
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_sdio_uart_claim_func
	cbz	x0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x20
	bl	_I_IXOFF
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:
	str	xzr, [x19, #8]
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_START_CHAR
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_sdio_uart_start_tx
LBB0_8:
	mov	x0, x20
	bl	_C_CRTSCTS
	cbz	x0, LBB0_10
; %bb.9:
Lloh0:
	adrp	x8, _TIOCM_RTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIOCM_RTS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sdio_uart_set_mctrl
LBB0_10:
	ldr	w0, [x19]
	bl	_sdio_uart_irq
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sdio_uart_release_func
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TIOCM_RTS,4,2                  ; @TIOCM_RTS
	.no_dead_strip	_sdio_uart_unthrottle
.subsections_via_symbols
