	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cond_init
_cond_init:                             ## @cond_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	(%rsi), %r15
	testq	%r15, %r15
	je	LBB0_6
## %bb.2:
	movq	(%r15), %rax
	movq	_PTHREAD_PROCESS_PRIVATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	___thr_pshared_offpage
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_cond_init_body
	movq	_THR_PSHARED_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_9
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_cond_init_body
LBB0_9:
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_EFAULT@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTHREAD_PROCESS_PRIVATE,8,3    ## @PTHREAD_PROCESS_PRIVATE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_THR_PSHARED_PTR,8,3            ## @THR_PSHARED_PTR
	.no_dead_strip	_cond_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cond_init
_cond_init:                             ; @cond_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	cbz	x1, LBB0_5
; %bb.1:
	ldr	x20, [x1]
	cbz	x20, LBB0_6
; %bb.2:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PTHREAD_PROCESS_PRIVATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PTHREAD_PROCESS_PRIVATE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	bl	___thr_pshared_offpage
	cbz	x0, LBB0_10
; %bb.4:
	mov	x1, x20
	bl	_cond_init_body
Lloh3:
	adrp	x8, _THR_PSHARED_PTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _THR_PSHARED_PTR@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	b	LBB0_8
LBB0_5:
	mov	x20, #0
LBB0_6:
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_9
; %bb.7:
	mov	x21, x0
	mov	x1, x20
	bl	_cond_init_body
LBB0_8:
	mov	w0, #0
	str	x21, [x19]
	b	LBB0_12
LBB0_9:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh8:
	adrp	x8, _EFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PTHREAD_PROCESS_PRIVATE,8,3    ; @PTHREAD_PROCESS_PRIVATE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_THR_PSHARED_PTR,8,3            ; @THR_PSHARED_PTR
	.no_dead_strip	_cond_init
.subsections_via_symbols
