	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_malloc_mutex_init              ## -- Begin function malloc_mutex_init
	.p2align	4, 0x90
_malloc_mutex_init:                     ## @malloc_mutex_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	addq	$32, %rdi
	callq	_mutex_prof_data_init
	leaq	-44(%rbp), %rdi
	callq	_pthread_mutexattr_init
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ebx
	movq	_MALLOC_MUTEX_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_pthread_mutexattr_settype
	leaq	16(%r13), %rdi
	movq	%r14, %rsi
	callq	_pthread_mutex_init
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_pthread_mutexattr_destroy
	testq	%r12, %r12
	jne	LBB0_7
## %bb.2:
	movq	_config_debug@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.3:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%r13)
	movq	_malloc_mutex_address_ordered@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	movl	%ebx, %edx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_5
## %bb.4:
	movq	_mutex_addr_comp@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r13, %rdi
	movq	%r13, %r8
	jmp	LBB0_6
LBB0_5:
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
LBB0_6:
	callq	_witness_init
LBB0_7:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MALLOC_MUTEX_TYPE,4,2          ## @MALLOC_MUTEX_TYPE
	.comm	_config_debug,8,3               ## @config_debug
	.comm	_malloc_mutex_address_ordered,8,3 ## @malloc_mutex_address_ordered
	.comm	_mutex_addr_comp,8,3            ## @mutex_addr_comp
	.comm	_OS_UNFAIR_LOCK_INIT,4,2        ## @OS_UNFAIR_LOCK_INIT
	.comm	__CRT_SPINCOUNT,4,2             ## @_CRT_SPINCOUNT
	.comm	_bootstrap_calloc,4,2           ## @bootstrap_calloc
	.comm	_postpone_init,8,3              ## @postpone_init
	.comm	_postponed_mutexes,8,3          ## @postponed_mutexes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_malloc_mutex_init              ; -- Begin function malloc_mutex_init
	.p2align	2
_malloc_mutex_init:                     ; @malloc_mutex_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, x0, #32
	bl	_mutex_prof_data_init
	add	x0, sp, #12
	bl	_pthread_mutexattr_init
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MALLOC_MUTEX_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MALLOC_MUTEX_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_pthread_mutexattr_settype
	add	x0, x20, #16
	add	x1, sp, #12
	bl	_pthread_mutex_init
	mov	x23, x0
	add	x0, sp, #12
	bl	_pthread_mutexattr_destroy
	cbz	x23, LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
Lloh3:
	adrp	x8, _config_debug@GOTPAGE
Lloh4:
	ldr	x8, [x8, _config_debug@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.5:
	str	x22, [x20, #8]
Lloh6:
	adrp	x8, _malloc_mutex_address_ordered@GOTPAGE
Lloh7:
	ldr	x8, [x8, _malloc_mutex_address_ordered@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _mutex_addr_comp@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mutex_addr_comp@GOTPAGEOFF]
Lloh11:
	ldr	x3, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x4, x20
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, #0
	mov	x4, #0
LBB0_8:
	bl	_witness_init
LBB0_9:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MALLOC_MUTEX_TYPE,4,2          ; @MALLOC_MUTEX_TYPE
	.comm	_config_debug,8,3               ; @config_debug
	.comm	_malloc_mutex_address_ordered,8,3 ; @malloc_mutex_address_ordered
	.comm	_mutex_addr_comp,8,3            ; @mutex_addr_comp
	.comm	_OS_UNFAIR_LOCK_INIT,4,2        ; @OS_UNFAIR_LOCK_INIT
	.comm	__CRT_SPINCOUNT,4,2             ; @_CRT_SPINCOUNT
	.comm	_bootstrap_calloc,4,2           ; @bootstrap_calloc
	.comm	_postpone_init,8,3              ; @postpone_init
	.comm	_postponed_mutexes,8,3          ; @postponed_mutexes
.subsections_via_symbols
