	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cuda_settime
_cuda_settime:                          ## @cuda_settime
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	callq	_device_get_softc
	movq	%rax, %rbx
	movq	_CUDA_PSEUDO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_CMD_WRITE_RTC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leaq	-40(%rbp), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movq	_DIFF19041970@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%r14), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_mtx_lock
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$6, %edx
	callq	_cuda_send
	movq	%rbx, %rdi
	callq	_mtx_unlock
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CUDA_PSEUDO,4,2                ## @CUDA_PSEUDO
	.comm	_CMD_WRITE_RTC,4,2              ## @CMD_WRITE_RTC
	.comm	_DIFF19041970,8,3               ## @DIFF19041970
	.no_dead_strip	_cuda_settime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cuda_settime
_cuda_settime:                          ; @cuda_settime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	bl	_device_get_softc
	mov	x20, x0
Lloh3:
	adrp	x8, _CUDA_PSEUDO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CUDA_PSEUDO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CMD_WRITE_RTC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CMD_WRITE_RTC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	add	x8, sp, #16
	add	x0, x8, #8
	stp	xzr, xzr, [sp, #24]
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _DIFF19041970@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DIFF19041970@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	w2, #8
	bl	_memcpy
	mov	x0, x20
	bl	_mtx_lock
	add	x3, sp, #16
	mov	x0, x20
	mov	w1, #0
	mov	w2, #6
	bl	_cuda_send
	mov	x0, x20
	bl	_mtx_unlock
	ldur	x8, [x29, #-24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CUDA_PSEUDO,4,2                ; @CUDA_PSEUDO
	.comm	_CMD_WRITE_RTC,4,2              ; @CMD_WRITE_RTC
	.comm	_DIFF19041970,8,3               ; @DIFF19041970
	.no_dead_strip	_cuda_settime
.subsections_via_symbols
