	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_cuda_kernel_atinit         ## -- Begin function run_cuda_kernel_atinit
	.p2align	4, 0x90
_run_cuda_kernel_atinit:                ## @run_cuda_kernel_atinit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	%edx, -28(%rbp)
	movq	8(%rsi), %rax
	leaq	-28(%rbp), %rdx
	movq	%rdx, (%rax)
	movq	24(%rsi), %rax
	movl	%ecx, 4(%rax)
	movl	20(%rsi), %r15d
	movl	%ecx, %edi
	movl	%r15d, %esi
	callq	_CEILDIV
	movl	16(%rbx), %esi
	movl	(%rbx), %r10d
	movq	%r14, %rdi
	movl	%eax, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	movl	%r15d, %r9d
	pushq	$0
	pushq	8(%rbx)
	pushq	%r10
	pushq	$0
	pushq	$1
	pushq	$1
	callq	_hc_cuLaunchKernel
	addq	$48, %rsp
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_hc_cuStreamSynchronize
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	sete	%al
	negl	%eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_cuda_kernel_atinit         ; -- Begin function run_cuda_kernel_atinit
	.p2align	2
_run_cuda_kernel_atinit:                ; @run_cuda_kernel_atinit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	str	w2, [sp, #28]
	ldr	x8, [x1, #8]
	add	x9, sp, #28
	str	x9, [x8]
	ldr	x8, [x1, #24]
	str	w3, [x8, #4]
	ldr	w21, [x1, #20]
	mov	x0, x3
	mov	x1, x21
	bl	_CEILDIV
	mov	x2, x0
	ldr	w1, [x20, #16]
	ldr	w8, [x20]
	ldr	x9, [x20, #8]
	stp	x9, xzr, [sp, #8]
	stp	wzr, w8, [sp]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	mov	x5, x21
	mov	w6, #1
	mov	w7, #1
	bl	_hc_cuLaunchKernel
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_hc_cuStreamSynchronize
	cmn	w0, #1
	csetm	w0, eq
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
