	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_timeout
_on_timeout:                            ## @on_timeout
	.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
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_NAK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_put_char
	movq	%rbx, %rdi
	callq	_flush
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE_PE
	jmp	LBB0_13
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.5(%rip), %rdi
LBB0_11:
	xorl	%eax, %eax
	callq	_TRACE_PE
	jmp	LBB0_12
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_3:
	xorl	%eax, %eax
	callq	_TRACE_PE
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_retry_transmit                 ## TAILCALL
LBB0_8:
	movl	4(%rbx), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE_PE
LBB0_12:
	movq	_NAK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_put_char
	movq	%rbx, %rdi
	callq	_flush
LBB0_13:
	movq	_R3964_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX_REQUEST - timeout"

	.comm	_NAK,4,2                        ## @NAK
L_.str.1:                               ## @.str.1
	.asciz	"WAIT_FOR_TX_ACK - timeout"

L_.str.2:                               ## @.str.2
	.asciz	"WAIT_FOR_RX_BUF - timeout"

	.comm	_R3964_IDLE,8,3                 ## @R3964_IDLE
L_.str.3:                               ## @.str.3
	.asciz	"RECEIVING - timeout after %d chars"

L_.str.4:                               ## @.str.4
	.asciz	"WAIT_FOR_RX_REPEAT - timeout"

L_.str.5:                               ## @.str.5
	.asciz	"WAIT_FOR_BCC - timeout"

	.no_dead_strip	_on_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_timeout
_on_timeout:                            ; @on_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_13
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _NAK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NAK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_put_char
	mov	x0, x19
	bl	_flush
	b	LBB0_9
LBB0_3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x0, l_.str.4@PAGE
Lloh8:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TRACE_PE
	b	LBB0_12
LBB0_5:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_6:
Lloh11:
	adrp	x0, l_.str.5@PAGE
Lloh12:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_7:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
LBB0_8:
	bl	_TRACE_PE
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_retry_transmit
LBB0_10:
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_11:
	bl	_TRACE_PE
Lloh17:
	adrp	x8, _NAK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NAK@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_put_char
	mov	x0, x19
	bl	_flush
LBB0_12:
Lloh20:
	adrp	x8, _R3964_IDLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _R3964_IDLE@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	w8, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX_REQUEST - timeout"

	.comm	_NAK,4,2                        ; @NAK
l_.str.1:                               ; @.str.1
	.asciz	"WAIT_FOR_TX_ACK - timeout"

l_.str.2:                               ; @.str.2
	.asciz	"WAIT_FOR_RX_BUF - timeout"

	.comm	_R3964_IDLE,8,3                 ; @R3964_IDLE
l_.str.3:                               ; @.str.3
	.asciz	"RECEIVING - timeout after %d chars"

l_.str.4:                               ; @.str.4
	.asciz	"WAIT_FOR_RX_REPEAT - timeout"

l_.str.5:                               ; @.str.5
	.asciz	"WAIT_FOR_BCC - timeout"

	.no_dead_strip	_on_timeout
.subsections_via_symbols
