	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cuda_init_via
_cuda_init_via:                         ## @cuda_init_via
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_via@GOTPCREL(%rip), %r14
	movq	_DIRB@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	shlq	$2, %rbx
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_in_8
	movq	_TACK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rcx, %r13
	movq	_TIP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rcx, %r15
	movq	_TREQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	%rbx, %rdi
	callq	_out_8
	movq	_B@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	shlq	$2, %rbx
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_in_8
	orl	(%r13), %eax
	orl	(%r15), %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_out_8
	movq	_ACR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	shlq	$2, %rbx
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_in_8
	movq	_SR_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_SR_EXT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_out_8
	movq	_SR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rax, %rbx
	shlq	$2, %rdi
	addq	(%r14), %rdi
	callq	_in_8
	movq	_IER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movq	_SR_INT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_out_8
	movl	$4, %edi
	callq	_mdelay
	movq	(%rbx), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	callq	_in_8
	movq	_IFR@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movl	(%r15), %esi
	callq	_out_8
	movq	(%r12), %rbx
	shlq	$2, %rbx
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_in_8
	movq	_TACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	%rbx, %rdi
	callq	_out_8
	movq	(%r12), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	callq	_in_8
	xorl	%edi, %edi
	movq	_TREQ@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_WAIT_FOR
	movq	(%r13), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	callq	_in_8
	andl	(%r15), %eax
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_WAIT_FOR
	movq	_SR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	callq	_in_8
	movq	(%r13), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movl	(%r15), %esi
	callq	_out_8
	movq	(%r12), %rbx
	shlq	$2, %rbx
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_in_8
	movq	_TACK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_out_8
	movq	(%r12), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	callq	_in_8
	movq	_TREQ@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_WAIT_FOR
	movq	(%r13), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	callq	_in_8
	andl	(%r15), %eax
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	callq	_WAIT_FOR
	movq	_SR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	callq	_in_8
	movq	(%r13), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movl	(%r15), %esi
	callq	_out_8
	movq	(%r12), %rbx
	shlq	$2, %rbx
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_in_8
	movq	_TIP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_out_8
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_via,8,3                        ## @via
	.comm	_DIRB,8,3                       ## @DIRB
	.comm	_TACK,4,2                       ## @TACK
	.comm	_TIP,4,2                        ## @TIP
	.comm	_TREQ,4,2                       ## @TREQ
	.comm	_B,8,3                          ## @B
	.comm	_ACR,8,3                        ## @ACR
	.comm	_SR_CTRL,4,2                    ## @SR_CTRL
	.comm	_SR_EXT,4,2                     ## @SR_EXT
	.comm	_SR,8,3                         ## @SR
	.comm	_IER,8,3                        ## @IER
	.comm	_SR_INT,4,2                     ## @SR_INT
	.comm	_IFR,8,3                        ## @IFR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CUDA response to sync"

L_.str.1:                               ## @.str.1
	.asciz	"CUDA response to sync (2)"

L_.str.2:                               ## @.str.2
	.asciz	"CUDA response to sync (3)"

L_.str.3:                               ## @.str.3
	.asciz	"CUDA response to sync (4)"

	.no_dead_strip	_cuda_init_via
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cuda_init_via
_cuda_init_via:                         ; @cuda_init_via
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x20, _via@GOTPAGE
Lloh1:
	ldr	x20, [x20, _via@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _DIRB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DIRB@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x19, x8, x9, lsl #2
	mov	x0, x19
	bl	_in_8
Lloh5:
	adrp	x24, _TACK@GOTPAGE
Lloh6:
	ldr	x24, [x24, _TACK@GOTPAGEOFF]
	ldr	w8, [x24]
	orr	w8, w8, w0
Lloh7:
	adrp	x21, _TIP@GOTPAGE
Lloh8:
	ldr	x21, [x21, _TIP@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w8, w9
Lloh9:
	adrp	x23, _TREQ@GOTPAGE
Lloh10:
	ldr	x23, [x23, _TREQ@GOTPAGEOFF]
	ldr	w9, [x23]
	bic	w1, w8, w9
	mov	x0, x19
	bl	_out_8
	ldr	x8, [x20]
Lloh11:
	adrp	x22, _B@GOTPAGE
Lloh12:
	ldr	x22, [x22, _B@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x19, x8, x9, lsl #2
	mov	x0, x19
	bl	_in_8
	ldr	w8, [x24]
	orr	w8, w8, w0
	ldr	w9, [x21]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_out_8
	ldr	x8, [x20]
Lloh13:
	adrp	x9, _ACR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ACR@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x19, x8, x9, lsl #2
	mov	x0, x19
	bl	_in_8
Lloh16:
	adrp	x8, _SR_CTRL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SR_CTRL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh19:
	adrp	x9, _SR_EXT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SR_EXT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_out_8
	ldr	x8, [x20]
Lloh22:
	adrp	x25, _SR@GOTPAGE
Lloh23:
	ldr	x25, [x25, _SR@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x0, x8, x9, lsl #2
	bl	_in_8
Lloh24:
	adrp	x8, _IER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IER@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh26:
	ldr	x8, [x8]
	add	x0, x9, x8, lsl #2
Lloh27:
	adrp	x26, _SR_INT@GOTPAGE
Lloh28:
	ldr	x26, [x26, _SR_INT@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_out_8
	mov	w0, #4
	bl	_mdelay
	ldr	x8, [x20]
	ldr	x9, [x25]
	add	x0, x8, x9, lsl #2
	bl	_in_8
	ldr	x8, [x20]
Lloh29:
	adrp	x27, _IFR@GOTPAGE
Lloh30:
	ldr	x27, [x27, _IFR@GOTPAGEOFF]
	ldr	x9, [x27]
	add	x0, x8, x9, lsl #2
	ldr	w1, [x26]
	bl	_out_8
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x19, x8, x9, lsl #2
	mov	x0, x19
	bl	_in_8
	ldr	w8, [x24]
	bic	w1, w0, w8
	mov	x0, x19
	bl	_out_8
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x0, x8, x9, lsl #2
	bl	_in_8
	ldr	w8, [x23]
	tst	w8, w0
	cset	w0, eq
Lloh31:
	adrp	x1, l_.str@PAGE
Lloh32:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WAIT_FOR
	ldr	x8, [x20]
	ldr	x9, [x27]
	add	x0, x8, x9, lsl #2
	bl	_in_8
	ldr	w8, [x26]
	and	w0, w8, w0
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WAIT_FOR
	ldr	x8, [x20]
	ldr	x9, [x25]
	add	x0, x8, x9, lsl #2
	bl	_in_8
	ldr	x8, [x20]
	ldr	x9, [x27]
	add	x0, x8, x9, lsl #2
	ldr	w1, [x26]
	bl	_out_8
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x19, x8, x9, lsl #2
	mov	x0, x19
	bl	_in_8
	ldr	w8, [x24]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_out_8
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x0, x8, x9, lsl #2
	bl	_in_8
	ldr	w8, [x23]
	and	w0, w8, w0
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_WAIT_FOR
	ldr	x8, [x20]
	ldr	x9, [x27]
	add	x0, x8, x9, lsl #2
	bl	_in_8
	ldr	w8, [x26]
	and	w0, w8, w0
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_WAIT_FOR
	ldr	x8, [x20]
	ldr	x9, [x25]
	add	x0, x8, x9, lsl #2
	bl	_in_8
	ldr	x8, [x20]
	ldr	x9, [x27]
	add	x0, x8, x9, lsl #2
	ldr	w1, [x26]
	bl	_out_8
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x19, x8, x9, lsl #2
	mov	x0, x19
	bl	_in_8
	ldr	w8, [x21]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_out_8
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_via,8,3                        ; @via
	.comm	_DIRB,8,3                       ; @DIRB
	.comm	_TACK,4,2                       ; @TACK
	.comm	_TIP,4,2                        ; @TIP
	.comm	_TREQ,4,2                       ; @TREQ
	.comm	_B,8,3                          ; @B
	.comm	_ACR,8,3                        ; @ACR
	.comm	_SR_CTRL,4,2                    ; @SR_CTRL
	.comm	_SR_EXT,4,2                     ; @SR_EXT
	.comm	_SR,8,3                         ; @SR
	.comm	_IER,8,3                        ; @IER
	.comm	_SR_INT,4,2                     ; @SR_INT
	.comm	_IFR,8,3                        ; @IFR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CUDA response to sync"

l_.str.1:                               ; @.str.1
	.asciz	"CUDA response to sync (2)"

l_.str.2:                               ; @.str.2
	.asciz	"CUDA response to sync (3)"

l_.str.3:                               ; @.str.3
	.asciz	"CUDA response to sync (4)"

	.no_dead_strip	_cuda_init_via
.subsections_via_symbols
