	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_thread
_init_thread:                           ## @init_thread
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_read_mutex@GOTPCREL(%rip), %rdi
	callq	_init_recursive_mutex
	movq	_counter_mutex@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	movq	_work_mutex@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	movq	_type_cas_mutex@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	movq	_show_stat@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_deepest_delta_mutex@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
LBB0_2:
	movq	_key@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_key_create
	movq	_nr_threads@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	$4, %esi
	callq	_xcalloc
	movq	_thread_data@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	movq	_curr_pack@GOTPCREL(%rip), %r13
	movq	_O_RDONLY@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	(%r14), %esi
	callq	_open
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_die_errno
	jmp	LBB0_6
LBB0_7:
	movq	_threads_active@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_read_mutex,4,2                 ## @read_mutex
	.comm	_counter_mutex,4,2              ## @counter_mutex
	.comm	_work_mutex,4,2                 ## @work_mutex
	.comm	_type_cas_mutex,4,2             ## @type_cas_mutex
	.comm	_show_stat,8,3                  ## @show_stat
	.comm	_deepest_delta_mutex,4,2        ## @deepest_delta_mutex
	.comm	_key,4,2                        ## @key
	.comm	_nr_threads,4,2                 ## @nr_threads
	.comm	_thread_data,8,3                ## @thread_data
	.comm	_curr_pack,4,2                  ## @curr_pack
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to open %s"

	.comm	_threads_active,4,2             ## @threads_active
	.no_dead_strip	_init_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_thread
_init_thread:                           ; @init_thread
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x0, _read_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _read_mutex@GOTPAGEOFF]
	bl	_init_recursive_mutex
Lloh2:
	adrp	x0, _counter_mutex@GOTPAGE
Lloh3:
	ldr	x0, [x0, _counter_mutex@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_mutex_init
Lloh4:
	adrp	x0, _work_mutex@GOTPAGE
Lloh5:
	ldr	x0, [x0, _work_mutex@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_mutex_init
Lloh6:
	adrp	x0, _type_cas_mutex@GOTPAGE
Lloh7:
	ldr	x0, [x0, _type_cas_mutex@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_mutex_init
Lloh8:
	adrp	x8, _show_stat@GOTPAGE
Lloh9:
	ldr	x8, [x8, _show_stat@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh11:
	adrp	x0, _deepest_delta_mutex@GOTPAGE
Lloh12:
	ldr	x0, [x0, _deepest_delta_mutex@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_mutex_init
LBB0_2:
Lloh13:
	adrp	x0, _key@GOTPAGE
Lloh14:
	ldr	x0, [x0, _key@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_key_create
Lloh15:
	adrp	x20, _nr_threads@GOTPAGE
Lloh16:
	ldr	x20, [x20, _nr_threads@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #4
	bl	_xcalloc
Lloh17:
	adrp	x21, _thread_data@GOTPAGE
Lloh18:
	ldr	x21, [x21, _thread_data@GOTPAGEOFF]
	str	x0, [x21]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x22, #0
Lloh19:
	adrp	x23, _curr_pack@GOTPAGE
Lloh20:
	ldr	x23, [x23, _curr_pack@GOTPAGEOFF]
Lloh21:
	adrp	x24, _O_RDONLY@GOTPAGE
Lloh22:
	ldr	x24, [x24, _O_RDONLY@GOTPAGEOFF]
Lloh23:
	adrp	x19, l_.str@PAGE
Lloh24:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	w1, [x24]
	bl	_open
	ldr	x8, [x21]
	str	w0, [x8, x22, lsl #2]
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	__
	ldr	w1, [x23]
	bl	_die_errno
	b	LBB0_4
LBB0_7:
Lloh25:
	adrp	x8, _threads_active@GOTPAGE
Lloh26:
	ldr	x8, [x8, _threads_active@GOTPAGEOFF]
	mov	w9, #1
Lloh27:
	str	w9, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_read_mutex,4,2                 ; @read_mutex
	.comm	_counter_mutex,4,2              ; @counter_mutex
	.comm	_work_mutex,4,2                 ; @work_mutex
	.comm	_type_cas_mutex,4,2             ; @type_cas_mutex
	.comm	_show_stat,8,3                  ; @show_stat
	.comm	_deepest_delta_mutex,4,2        ; @deepest_delta_mutex
	.comm	_key,4,2                        ; @key
	.comm	_nr_threads,4,2                 ; @nr_threads
	.comm	_thread_data,8,3                ; @thread_data
	.comm	_curr_pack,4,2                  ; @curr_pack
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to open %s"

	.comm	_threads_active,4,2             ; @threads_active
	.no_dead_strip	_init_thread
.subsections_via_symbols
