	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cuda_kernel_local_mem_size
_get_cuda_kernel_local_mem_size:        ## @get_cuda_kernel_local_mem_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movl	%esi, %ecx
	movq	_CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rsi
	callq	_hc_cuFuncGetAttribute
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movslq	-12(%rbp), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES,4,2 ## @CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES
	.no_dead_strip	_get_cuda_kernel_local_mem_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cuda_kernel_local_mem_size
_get_cuda_kernel_local_mem_size:        ; @get_cuda_kernel_local_mem_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x3, x1
Lloh0:
	adrp	x8, _CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_hc_cuFuncGetAttribute
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ldrsw	x8, [sp, #12]
	str	x8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES,4,2 ; @CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES
	.no_dead_strip	_get_cuda_kernel_local_mem_size
.subsections_via_symbols
