	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hc_cuLaunchKernel              ## -- Begin function hc_cuLaunchKernel
	.p2align	4, 0x90
_hc_cuLaunchKernel:                     ## @hc_cuLaunchKernel
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %eax
	movq	%rdi, %r14
	movl	16(%rbp), %r9d
	movl	24(%rbp), %r10d
	movl	32(%rbp), %r11d
	movl	40(%rbp), %edi
	movaps	48(%rbp), %xmm0
	movq	(%r14), %rbx
	movq	(%rbx), %r15
	movups	%xmm0, 24(%rsp)
	movl	%edi, 16(%rsp)
	movl	%r11d, 8(%rsp)
	movl	%r10d, (%rsp)
	movl	%esi, %edi
	movl	%edx, %esi
	movl	%ecx, %edx
	movl	%r8d, %ecx
	movl	%eax, %r8d
	callq	*(%r15)
	movq	%rax, %rbx
	movq	_CUDA_SUCCESS@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	cmpq	(%r12), %rbx
	je	LBB0_5
## %bb.1:
	movq	$0, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*8(%r15)
	cmpq	(%r12), %rax
	jne	LBB0_3
## %bb.2:
	movq	-40(%rbp), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
LBB0_4:
	callq	_event_log_error
	movl	$-1, %eax
LBB0_5:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CUDA_SUCCESS,8,3               ## @CUDA_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cuLaunchKernel(): %s"

L_.str.1:                               ## @.str.1
	.asciz	"cuLaunchKernel(): %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hc_cuLaunchKernel              ; -- Begin function hc_cuLaunchKernel
	.p2align	2
_hc_cuLaunchKernel:                     ; @hc_cuLaunchKernel
	.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	x8, x7
	mov	x19, x0
	ldp	w7, w9, [x29, #16]
	ldp	x10, x11, [x29, #24]
	ldr	x12, [x0]
	ldr	x21, [x12]
	ldr	x12, [x21]
	stp	x10, x11, [sp, #8]
	str	w9, [sp]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	mov	x4, x5
	mov	x5, x6
	mov	x6, x8
	blr	x12
Lloh0:
	adrp	x22, _CUDA_SUCCESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CUDA_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	mov	x20, x0
	str	xzr, [sp, #24]
	ldr	x8, [x21, #8]
	add	x1, sp, #24
	blr	x8
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	x2, [sp, #24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
LBB0_5:
	bl	_event_log_error
	mov	w0, #-1
LBB0_6:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CUDA_SUCCESS,8,3               ; @CUDA_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cuLaunchKernel(): %s"

l_.str.1:                               ; @.str.1
	.asciz	"cuLaunchKernel(): %d"

.subsections_via_symbols
