	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_complib_init                   ## -- Begin function complib_init
	.p2align	4, 0x90
_complib_init:                          ## @complib_init
	.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	_cl_atomic_spinlock@GOTPCREL(%rip), %rdi
	callq	_cl_spinlock_init
	movq	_CL_SUCCESS@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	___cl_timer_prov_create
	cmpq	(%rbx), %rax
	jne	LBB0_3
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	%rax, %rdi
	callq	_CL_STATUS_MSG
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_cl_msg_out
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_CL_SUCCESS,8,3                 ## @CL_SUCCESS
	.comm	_cl_atomic_spinlock,4,2         ## @cl_atomic_spinlock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"__init: failed to create complib (%s)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_complib_init                   ; -- Begin function complib_init
	.p2align	2
_complib_init:                          ; @complib_init
	.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	x0, _cl_atomic_spinlock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _cl_atomic_spinlock@GOTPAGEOFF]
	bl	_cl_spinlock_init
Lloh2:
	adrp	x19, _CL_SUCCESS@GOTPAGE
Lloh3:
	ldr	x19, [x19, _CL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	bl	___cl_timer_prov_create
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	bl	_CL_STATUS_MSG
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_cl_msg_out
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CL_SUCCESS,8,3                 ; @CL_SUCCESS
	.comm	_cl_atomic_spinlock,4,2         ; @cl_atomic_spinlock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"__init: failed to create complib (%s)\n"

.subsections_via_symbols
