	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function run_opencl_kernel_atinit
LCPI0_0:
	.quad	1                               ## 0x1
	.quad	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_run_opencl_kernel_atinit
	.p2align	4, 0x90
_run_opencl_kernel_atinit:              ## @run_opencl_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edx, -116(%rbp)
	movq	(%rsi), %rax
	movl	%ecx, 4(%rax)
	movslq	8(%rsi), %rbx
	movl	%ecx, %edi
	movl	%ebx, %esi
	callq	_round_up_multiple_64
	movl	28(%r13), %r12d
	cltq
	movq	%rax, -80(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1]
	movups	%xmm0, -72(%rbp)
	movq	%rbx, -112(%rbp)
	movups	%xmm0, -104(%rbp)
	leaq	-116(%rbp), %r8
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	movl	$4, %ecx
	callq	_hc_clSetKernelArg
	movl	$-1, %r15d
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.1:
	movq	16(%r13), %rax
	movq	8(%rax), %r8
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	movl	$4, %ecx
	callq	_hc_clSetKernelArg
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.2:
	movl	24(%r13), %esi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	leaq	-112(%rbp), %rax
	movq	%rax, (%rsp)
	movl	$0, 8(%rsp)
	leaq	-80(%rbp), %r9
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_hc_clEnqueueNDRangeKernel
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.3:
	movl	24(%r13), %esi
	movq	%r14, %rdi
	callq	_hc_clFlush
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.4:
	movl	24(%r13), %esi
	movq	%r14, %rdi
	callq	_hc_clFinish
	xorl	%r15d, %r15d
	cmpl	$-1, %eax
	sete	%r15b
	negl	%r15d
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r15d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_opencl_kernel_atinit       ; -- Begin function run_opencl_kernel_atinit
	.p2align	2
_run_opencl_kernel_atinit:              ; @run_opencl_kernel_atinit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	w2, [sp, #20]
	ldr	x8, [x1]
	str	w3, [x8, #4]
	ldrsw	x22, [x1, #8]
	mov	x0, x3
	mov	x1, x22
	bl	_round_up_multiple_64
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w21, [x20, #28]
	sxtw	x8, w0
	str	x8, [sp, #48]
	mov	w8, #1
	dup.2d	v0, x8
	stur	q0, [sp, #56]
	str	x22, [sp, #24]
	stur	q0, [sp, #32]
	add	x4, sp, #20
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	w3, #4
	bl	_hc_clSetKernelArg
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	ldr	x8, [x20, #16]
	ldr	x4, [x8, #8]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	mov	w3, #4
	bl	_hc_clSetKernelArg
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.2:
	ldr	w1, [x20, #24]
	stp	xzr, xzr, [sp]
	add	x5, sp, #48
	add	x6, sp, #24
	mov	x0, x19
	mov	x2, x21
	mov	w3, #1
	mov	x4, #0
	mov	w7, #0
	bl	_hc_clEnqueueNDRangeKernel
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.3:
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_hc_clFlush
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_hc_clFinish
	cmn	w0, #1
	csetm	w0, eq
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
