	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___thr_malloc_init              ## -- Begin function __thr_malloc_init
	.p2align	4, 0x90
___thr_malloc_init:                     ## @__thr_malloc_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	_npagesizes@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_1
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_pagesizes_d@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_nitems
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_getpagesizes
	movl	%eax, (%r14)
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	movq	(%r15), %rax
	jmp	LBB0_4
LBB0_3:
	movl	$1, (%r14)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r15), %rax
	movl	%ecx, (%rax)
LBB0_4:
	movq	_pagesizes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_thr_malloc_umtx@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__thr_umutex_init               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_npagesizes,4,2                 ## @npagesizes
	.comm	_pagesizes_d,8,3                ## @pagesizes_d
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_pagesizes,8,3                  ## @pagesizes
	.comm	_thr_malloc_umtx,4,2            ## @thr_malloc_umtx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___thr_malloc_init              ; -- Begin function __thr_malloc_init
	.p2align	2
___thr_malloc_init:                     ; @__thr_malloc_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
Lloh0:
	adrp	x20, _npagesizes@GOTPAGE
Lloh1:
	ldr	x20, [x20, _npagesizes@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	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
LBB0_2:
Lloh2:
	adrp	x21, _pagesizes_d@GOTPAGE
Lloh3:
	ldr	x21, [x21, _pagesizes_d@GOTPAGEOFF]
	ldr	x19, [x21]
	mov	x0, x19
	bl	_nitems
	mov	x1, x0
	mov	x0, x19
	bl	_getpagesizes
	str	w0, [x20]
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x21]
	b	LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [x20]
Lloh4:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x8]
	ldr	x8, [x21]
	str	w9, [x8]
LBB0_5:
Lloh7:
	adrp	x9, _pagesizes@GOTPAGE
Lloh8:
	ldr	x9, [x9, _pagesizes@GOTPAGEOFF]
Lloh9:
	str	x8, [x9]
Lloh10:
	adrp	x0, _thr_malloc_umtx@GOTPAGE
Lloh11:
	ldr	x0, [x0, _thr_malloc_umtx@GOTPAGEOFF]
	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
	b	__thr_umutex_init
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_npagesizes,4,2                 ; @npagesizes
	.comm	_pagesizes_d,8,3                ; @pagesizes_d
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_pagesizes,8,3                  ; @pagesizes
	.comm	_thr_malloc_umtx,4,2            ; @thr_malloc_umtx
.subsections_via_symbols
