	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cuda_start
_cuda_start:                            ## @cuda_start
	.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	_current_req@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_6
## %bb.1:
	movq	_data_index@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	_via@GOTPCREL(%rip), %r12
	movq	_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r12), %rdi
	callq	_in_8
	movl	%eax, %edi
	callq	_TREQ_asserted
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_ACR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	shlq	$2, %rbx
	addq	(%r12), %rbx
	movq	%rbx, %rdi
	callq	_in_8
	movq	_SR_OUT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_out_8
	movq	_SR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r12), %rdi
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r15)
	movl	(%rax,%rcx,4), %esi
	callq	_out_8
	movq	_mcu_is_egret@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_assert_TIP_and_TACK
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_assert_TIP
LBB0_5:
	movq	_sent_first_byte@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cuda_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_req,8,3                ## @current_req
	.comm	_data_index,8,3                 ## @data_index
	.comm	_via,8,3                        ## @via
	.comm	_B,8,3                          ## @B
	.comm	_ACR,8,3                        ## @ACR
	.comm	_SR_OUT,4,2                     ## @SR_OUT
	.comm	_SR,8,3                         ## @SR
	.comm	_mcu_is_egret,8,3               ## @mcu_is_egret
	.comm	_sent_first_byte,4,2            ## @sent_first_byte
	.comm	_cuda_state,4,2                 ## @cuda_state
	.no_dead_strip	_cuda_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cuda_start
_cuda_start:                            ; @cuda_start
	.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
Lloh0:
	adrp	x20, _current_req@GOTPAGE
Lloh1:
	ldr	x20, [x20, _current_req@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.1:
Lloh2:
	adrp	x21, _data_index@GOTPAGE
Lloh3:
	ldr	x21, [x21, _data_index@GOTPAGEOFF]
Lloh4:
	adrp	x22, _via@GOTPAGE
Lloh5:
	ldr	x22, [x22, _via@GOTPAGEOFF]
	str	xzr, [x21]
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _B@GOTPAGE
Lloh7:
	ldr	x9, [x9, _B@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_in_8
	bl	_TREQ_asserted
	cbnz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x22]
Lloh9:
	adrp	x9, _ACR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACR@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x19, x8, x9, lsl #2
	mov	x0, x19
	bl	_in_8
Lloh12:
	adrp	x8, _SR_OUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SR_OUT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_out_8
	ldr	x8, [x22]
Lloh15:
	adrp	x9, _SR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SR@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [x21]
	add	x10, x9, #1
	str	x10, [x21]
	ldr	w1, [x8, x9, lsl #2]
	bl	_out_8
Lloh18:
	adrp	x8, _mcu_is_egret@GOTPAGE
Lloh19:
	ldr	x8, [x8, _mcu_is_egret@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_assert_TIP_and_TACK
	b	LBB0_5
LBB0_4:
	bl	_assert_TIP
LBB0_5:
Lloh21:
	adrp	x8, _sent_first_byte@GOTPAGE
Lloh22:
	ldr	x8, [x8, _sent_first_byte@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _cuda_state@GOTPAGE
Lloh25:
	ldr	x9, [x9, _cuda_state@GOTPAGEOFF]
Lloh26:
	str	w8, [x9]
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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_current_req,8,3                ; @current_req
	.comm	_data_index,8,3                 ; @data_index
	.comm	_via,8,3                        ; @via
	.comm	_B,8,3                          ; @B
	.comm	_ACR,8,3                        ; @ACR
	.comm	_SR_OUT,4,2                     ; @SR_OUT
	.comm	_SR,8,3                         ; @SR
	.comm	_mcu_is_egret,8,3               ; @mcu_is_egret
	.comm	_sent_first_byte,4,2            ; @sent_first_byte
	.comm	_cuda_state,4,2                 ; @cuda_state
	.no_dead_strip	_cuda_start
.subsections_via_symbols
