	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_localtime                      ## -- Begin function localtime
	.p2align	4, 0x90
_localtime:                             ## @localtime
	.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, %rbx
	movq	___isthreaded@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.1:
	movq	_localtime_key_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_localtime_once@GOTPCREL(%rip), %rdi
	callq	__pthread_once
	movq	_localtime_key_error@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_9:
	xorl	%edi, %edi
	callq	_tzset_basic
	movq	_tm@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_localsub                       ## TAILCALL
LBB0_5:
	movq	_localtime_key@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	__pthread_getspecific
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movl	$4, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	%rax, %r14
	movl	(%r15), %edi
	movq	%rax, %rsi
	callq	__pthread_setspecific
LBB0_8:
	movq	_lcl_rwlock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	__RWLOCK_RDLOCK
	movl	$1, %edi
	callq	_tzset_basic
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_localsub
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	__RWLOCK_UNLOCK
	movq	%rbx, %rax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___isthreaded,8,3               ## @__isthreaded
	.comm	_localtime_once,4,2             ## @localtime_once
	.comm	_localtime_key_init,4,2         ## @localtime_key_init
	.comm	_localtime_key_error,8,3        ## @localtime_key_error
	.comm	_errno,8,3                      ## @errno
	.comm	_localtime_key,4,2              ## @localtime_key
	.comm	_lcl_rwlock,4,2                 ## @lcl_rwlock
	.comm	_tm,4,2                         ## @tm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_localtime                      ; -- Begin function localtime
	.p2align	2
_localtime:                             ; @localtime
	.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
Lloh0:
	adrp	x8, ___isthreaded@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___isthreaded@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _localtime_key_init@GOTPAGE
Lloh4:
	ldr	x8, [x8, _localtime_key_init@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, _localtime_once@GOTPAGE
Lloh7:
	ldr	x0, [x0, _localtime_once@GOTPAGEOFF]
	bl	__pthread_once
Lloh8:
	adrp	x8, _localtime_key_error@GOTPAGE
Lloh9:
	ldr	x8, [x8, _localtime_key_error@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
Lloh11:
	adrp	x9, _errno@GOTPAGE
Lloh12:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh13:
	str	x8, [x9]
LBB0_3:
	mov	x0, #0
	b	LBB0_9
LBB0_4:
	mov	w0, #0
	bl	_tzset_basic
Lloh14:
	adrp	x2, _tm@GOTPAGE
Lloh15:
	ldr	x2, [x2, _tm@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	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	_localsub
LBB0_5:
Lloh16:
	adrp	x21, _localtime_key@GOTPAGE
Lloh17:
	ldr	x21, [x21, _localtime_key@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	__pthread_getspecific
	mov	x20, x0
	cbnz	x0, LBB0_8
; %bb.6:
	mov	w0, #4
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.7:
	mov	x20, x0
	ldr	w0, [x21]
	mov	x1, x20
	bl	__pthread_setspecific
LBB0_8:
Lloh18:
	adrp	x21, _lcl_rwlock@GOTPAGE
Lloh19:
	ldr	x21, [x21, _lcl_rwlock@GOTPAGEOFF]
	mov	x0, x21
	bl	__RWLOCK_RDLOCK
	mov	w0, #1
	bl	_tzset_basic
	mov	x0, x19
	mov	x1, #0
	mov	x2, x20
	bl	_localsub
	mov	x19, x0
	mov	x0, x21
	bl	__RWLOCK_UNLOCK
	mov	x0, x19
LBB0_9:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	___isthreaded,8,3               ; @__isthreaded
	.comm	_localtime_once,4,2             ; @localtime_once
	.comm	_localtime_key_init,4,2         ; @localtime_key_init
	.comm	_localtime_key_error,8,3        ; @localtime_key_error
	.comm	_errno,8,3                      ; @errno
	.comm	_localtime_key,4,2              ; @localtime_key
	.comm	_lcl_rwlock,4,2                 ; @lcl_rwlock
	.comm	_tm,4,2                         ; @tm
.subsections_via_symbols
