	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hc_cuModuleLoadDataExLog       ## -- Begin function hc_cuModuleLoadDataExLog
	.p2align	4, 0x90
_hc_cuModuleLoadDataExLog:              ## @hc_cuModuleLoadDataExLog
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$8192, %edi                     ## imm = 0x2000
	callq	_hcmalloc
	movq	%rax, %r14
	movl	$8192, %edi                     ## imm = 0x2000
	callq	_hcmalloc
	movq	%rax, %r13
	movq	_CU_JIT_TARGET_FROM_CUCONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	$0, -128(%rbp)
	movq	_CU_JIT_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	$1, -120(%rbp)
	movq	_CU_JIT_INFO_LOG_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%r14, -112(%rbp)
	movq	_CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	$8192, -104(%rbp)               ## imm = 0x2000
	movq	_CU_JIT_ERROR_LOG_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%r13, -96(%rbp)
	movq	_CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	$8192, -88(%rbp)                ## imm = 0x2000
	leaq	-80(%rbp), %r8
	leaq	-128(%rbp), %r9
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	$6, %ecx
	callq	_hc_cuModuleLoadDataEx
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_strlen
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_printf
	movq	%r13, %rdi
	callq	_strlen
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
	callq	_printf
LBB0_2:
	movq	%r14, %rdi
	callq	_hcfree
	movq	%r13, %rdi
	callq	_hcfree
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CU_JIT_TARGET_FROM_CUCONTEXT,4,2 ## @CU_JIT_TARGET_FROM_CUCONTEXT
	.comm	_CU_JIT_LOG_VERBOSE,4,2         ## @CU_JIT_LOG_VERBOSE
	.comm	_CU_JIT_INFO_LOG_BUFFER,4,2     ## @CU_JIT_INFO_LOG_BUFFER
	.comm	_CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES,4,2 ## @CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES
	.comm	_CU_JIT_ERROR_LOG_BUFFER,4,2    ## @CU_JIT_ERROR_LOG_BUFFER
	.comm	_CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES,4,2 ## @CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cuModuleLoadDataEx() Info Log (%d):\n%s\n\n"

L_.str.1:                               ## @.str.1
	.asciz	"cuModuleLoadDataEx() Error Log (%d):\n%s\n\n"

	.comm	_LOG_SIZE,8,3                   ## @LOG_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hc_cuModuleLoadDataExLog       ; -- Begin function hc_cuModuleLoadDataExLog
	.p2align	2
_hc_cuModuleLoadDataExLog:              ; @hc_cuModuleLoadDataExLog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	w24, #8192
	mov	w0, #8192
	bl	_hcmalloc
	mov	x19, x0
	mov	w0, #8192
	bl	_hcmalloc
	mov	x20, x0
Lloh3:
	adrp	x8, _CU_JIT_TARGET_FROM_CUCONTEXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CU_JIT_TARGET_FROM_CUCONTEXT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CU_JIT_LOG_VERBOSE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CU_JIT_LOG_VERBOSE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #48]
	mov	w8, #1
	stp	xzr, x8, [sp]
Lloh9:
	adrp	x8, _CU_JIT_INFO_LOG_BUFFER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CU_JIT_INFO_LOG_BUFFER@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #56]
	stp	x19, x24, [sp, #16]
Lloh15:
	adrp	x8, _CU_JIT_ERROR_LOG_BUFFER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CU_JIT_ERROR_LOG_BUFFER@GOTPAGEOFF]
Lloh17:
	adrp	x9, _CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #64]
	stp	x0, x24, [sp, #32]
	add	x4, sp, #48
	mov	x5, sp
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	w3, #6
	bl	_hc_cuModuleLoadDataEx
	mov	x21, x0
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	bl	_printf
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x20
	bl	_printf
LBB0_2:
	mov	x0, x19
	bl	_hcfree
	mov	x0, x20
	bl	_hcfree
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.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
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_CU_JIT_TARGET_FROM_CUCONTEXT,4,2 ; @CU_JIT_TARGET_FROM_CUCONTEXT
	.comm	_CU_JIT_LOG_VERBOSE,4,2         ; @CU_JIT_LOG_VERBOSE
	.comm	_CU_JIT_INFO_LOG_BUFFER,4,2     ; @CU_JIT_INFO_LOG_BUFFER
	.comm	_CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES,4,2 ; @CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES
	.comm	_CU_JIT_ERROR_LOG_BUFFER,4,2    ; @CU_JIT_ERROR_LOG_BUFFER
	.comm	_CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES,4,2 ; @CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cuModuleLoadDataEx() Info Log (%d):\n%s\n\n"

l_.str.1:                               ; @.str.1
	.asciz	"cuModuleLoadDataEx() Error Log (%d):\n%s\n\n"

	.comm	_LOG_SIZE,8,3                   ; @LOG_SIZE
.subsections_via_symbols
