	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___cl_timer_prov_create         ## -- Begin function __cl_timer_prov_create
	.p2align	4, 0x90
___cl_timer_prov_create:                ## @__cl_timer_prov_create
	.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	_gp_timer_prov@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_CL_ASSERT
	movl	$4, %edi
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%rbx), %rdi
	addq	$12, %rdi
	callq	_cl_qlist_init
	movq	(%rbx), %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	movq	(%rbx), %rdi
	addq	$4, %rdi
	xorl	%esi, %esi
	callq	_pthread_cond_init
	movq	(%rbx), %rdi
	movq	___cl_timer_prov_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pthread_create
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	callq	___cl_timer_prov_destroy
	movq	_CL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_CL_INSUFFICIENT_MEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_CL_SUCCESS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gp_timer_prov,8,3              ## @gp_timer_prov
	.comm	_CL_INSUFFICIENT_MEMORY,4,2     ## @CL_INSUFFICIENT_MEMORY
	.comm	___cl_timer_prov_cb,4,2         ## @__cl_timer_prov_cb
	.comm	_CL_ERROR,4,2                   ## @CL_ERROR
	.comm	_CL_SUCCESS,4,2                 ## @CL_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___cl_timer_prov_create         ; -- Begin function __cl_timer_prov_create
	.p2align	2
___cl_timer_prov_create:                ; @__cl_timer_prov_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _gp_timer_prov@GOTPAGE
Lloh1:
	ldr	x19, [x19, _gp_timer_prov@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_CL_ASSERT
	mov	w0, #4
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_3
; %bb.1:
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19]
	add	x0, x8, #12
	bl	_cl_qlist_init
	ldr	x8, [x19]
	add	x0, x8, #8
	mov	x1, #0
	bl	_pthread_mutex_init
	ldr	x8, [x19]
	add	x0, x8, #4
	mov	x1, #0
	bl	_pthread_cond_init
	ldr	x0, [x19]
Lloh2:
	adrp	x8, ___cl_timer_prov_cb@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___cl_timer_prov_cb@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, #0
	mov	x3, #0
	bl	_pthread_create
	cbz	x0, LBB0_4
; %bb.2:
	bl	___cl_timer_prov_destroy
Lloh5:
	adrp	x8, _CL_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CL_ERROR@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x8, _CL_INSUFFICIENT_MEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CL_INSUFFICIENT_MEMORY@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _CL_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CL_SUCCESS@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_gp_timer_prov,8,3              ; @gp_timer_prov
	.comm	_CL_INSUFFICIENT_MEMORY,4,2     ; @CL_INSUFFICIENT_MEMORY
	.comm	___cl_timer_prov_cb,4,2         ; @__cl_timer_prov_cb
	.comm	_CL_ERROR,4,2                   ; @CL_ERROR
	.comm	_CL_SUCCESS,4,2                 ; @CL_SUCCESS
.subsections_via_symbols
