	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_opencl_kernel_local_mem_size
_get_opencl_kernel_local_mem_size:      ## @get_opencl_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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rcx, %rbx
	movl	$0, -12(%rbp)
	movl	(%rsi), %eax
	movq	_CL_KERNEL_LOCAL_MEM_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	$0, (%rsp)
	leaq	-12(%rbp), %r9
	movl	%edx, %esi
	movl	%eax, %edx
	movl	$4, %r8d
	callq	_hc_clGetKernelWorkGroupInfo
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	-12(%rbp), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CL_KERNEL_LOCAL_MEM_SIZE,4,2   ## @CL_KERNEL_LOCAL_MEM_SIZE
	.no_dead_strip	_get_opencl_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_opencl_kernel_local_mem_size
_get_opencl_kernel_local_mem_size:      ; @get_opencl_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, x3
	mov	x8, x2
	str	wzr, [sp, #12]
	ldr	w2, [x1]
Lloh0:
	adrp	x9, _CL_KERNEL_LOCAL_MEM_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CL_KERNEL_LOCAL_MEM_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
	add	x5, sp, #12
	mov	x1, x8
	mov	w4, #4
	mov	x6, #0
	bl	_hc_clGetKernelWorkGroupInfo
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ldr	w8, [sp, #12]
	str	w8, [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	_CL_KERNEL_LOCAL_MEM_SIZE,4,2   ; @CL_KERNEL_LOCAL_MEM_SIZE
	.no_dead_strip	_get_opencl_kernel_local_mem_size
.subsections_via_symbols
