	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pthreadMutexAlloc
_pthreadMutexAlloc:                     ## @pthreadMutexAlloc
	.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
	cmpl	$129, %edi
	je	LBB0_4
## %bb.1:
	movl	%edi, %ebx
	cmpl	$128, %edi
	jne	LBB0_6
## %bb.2:
	movl	$8, %edi
	callq	_sqlite3MallocZero
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %rbx
	leaq	-28(%rbp), %r14
	movq	%r14, %rdi
	callq	_pthread_mutexattr_init
	movq	_PTHREAD_MUTEX_RECURSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pthread_mutexattr_settype
	movq	%rbx, %rdi
	addq	$4, %rdi
	movq	%r14, %rsi
	callq	_pthread_mutex_init
	movq	%r14, %rdi
	callq	_pthread_mutexattr_destroy
	jmp	LBB0_9
LBB0_4:
	movl	$8, %edi
	callq	_sqlite3MallocZero
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$4, %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	jmp	LBB0_9
LBB0_6:
	leal	-2(%rbx), %r15d
	xorl	%edi, %edi
	cmpl	$2, %ebx
	setge	%dil
	callq	_assert
	leaq	_pthreadMutexAlloc.staticMutexes(%rip), %r14
	movq	%r14, %rdi
	callq	_ArraySize
	xorl	%edi, %edi
	cmpl	%eax, %r15d
	setl	%dil
	callq	_assert
	movslq	%ebx, %rax
	leaq	(%r14,%rax,8), %rbx
	addq	$-16, %rbx
	jmp	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @pthreadMutexAlloc.staticMutexes
_pthreadMutexAlloc.staticMutexes:
	.long	130                             ## 0x82
	.long	130                             ## 0x82
	.long	130                             ## 0x82
	.long	130                             ## 0x82
	.long	130                             ## 0x82
	.long	130                             ## 0x82

	.comm	_PTHREAD_MUTEX_RECURSIVE,4,2    ## @PTHREAD_MUTEX_RECURSIVE
	.no_dead_strip	_pthreadMutexAlloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pthreadMutexAlloc
_pthreadMutexAlloc:                     ; @pthreadMutexAlloc
	.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
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_6
; %bb.2:
	mov	w0, #8
	bl	_sqlite3MallocZero
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.3:
	add	x0, sp, #12
	bl	_pthread_mutexattr_init
Lloh0:
	adrp	x8, _PTHREAD_MUTEX_RECURSIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTHREAD_MUTEX_RECURSIVE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_pthread_mutexattr_settype
	add	x0, x19, #4
	add	x1, sp, #12
	bl	_pthread_mutex_init
	add	x0, sp, #12
	bl	_pthread_mutexattr_destroy
	b	LBB0_7
LBB0_4:
	mov	w0, #8
	bl	_sqlite3MallocZero
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.5:
	add	x0, x19, #4
	mov	x1, #0
	bl	_pthread_mutex_init
	b	LBB0_7
LBB0_6:
	sxtw	x8, w0
	sub	x20, x8, #2
	cmp	w0, #1
	cset	w0, gt
	bl	_assert
Lloh3:
	adrp	x19, _pthreadMutexAlloc.staticMutexes@PAGE
Lloh4:
	add	x19, x19, _pthreadMutexAlloc.staticMutexes@PAGEOFF
	mov	x0, x19
	bl	_ArraySize
	cmp	w20, w0
	cset	w0, lt
	bl	_assert
	add	x19, x19, x20, lsl #3
LBB0_7:
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @pthreadMutexAlloc.staticMutexes
_pthreadMutexAlloc.staticMutexes:
	.long	130                             ; 0x82
	.long	130                             ; 0x82
	.long	130                             ; 0x82
	.long	130                             ; 0x82
	.long	130                             ; 0x82
	.long	130                             ; 0x82

	.comm	_PTHREAD_MUTEX_RECURSIVE,4,2    ; @PTHREAD_MUTEX_RECURSIVE
	.no_dead_strip	_pthreadMutexAlloc
.subsections_via_symbols
