	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tzset_basic
_tzset_basic:                           ## @tzset_basic
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %rbx
	testl	%r14d, %r14d
	jne	LBB0_3
## %bb.2:
	movq	_lcl_rwlock@GOTPCREL(%rip), %rdi
	callq	__RWLOCK_RDLOCK
LBB0_3:
	movq	_lcl_is_set@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.4:
	movq	_lcl_TZname@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	_lcl_rwlock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	__RWLOCK_UNLOCK
	movq	%r15, %rdi
	callq	__RWLOCK_WRLOCK
	movq	%rbx, %rdi
	callq	_strlen
	xorl	%ecx, %ecx
	cmpl	$4, %eax
	setb	%cl
	movl	%ecx, (%r12)
	jae	LBB0_9
## %bb.8:
	movq	_lcl_TZname@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_strcpy
LBB0_9:
	cmpb	$0, (%rbx)
	movq	_lclptr@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	je	LBB0_10
## %bb.11:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_tzload
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	cmpb	$58, (%rbx)
	je	LBB0_14
## %bb.13:
	movq	(%r15), %rsi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_tzparse
	testq	%rax, %rax
	je	LBB0_15
LBB0_14:
	movq	(%r15), %rdi
	callq	_gmtload
	jmp	LBB0_15
LBB0_17:
	movl	%r14d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tzsetwall_basic                ## TAILCALL
LBB0_10:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsi)
	movq	$0, 32(%rsi)
	movq	8(%rsi), %rax
	movups	%xmm0, (%rax)
	movq	$0, 16(%rax)
	movl	(%rsi), %edi
	movq	_gmt@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_strcpy
LBB0_15:
	xorl	%eax, %eax
	callq	_settzname
	movq	_lcl_rwlock@GOTPCREL(%rip), %rdi
	callq	__RWLOCK_UNLOCK
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.18:
	movq	_lcl_rwlock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__RWLOCK_RDLOCK                 ## TAILCALL
LBB0_5:
	testl	%r14d, %r14d
	je	LBB0_6
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_lcl_rwlock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__RWLOCK_UNLOCK                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TZ"

	.comm	_lcl_rwlock,4,2                 ## @lcl_rwlock
	.comm	_lcl_is_set,4,2                 ## @lcl_is_set
	.comm	_lcl_TZname,4,2                 ## @lcl_TZname
	.comm	_lclptr,8,3                     ## @lclptr
	.comm	_gmt,8,3                        ## @gmt
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_tzset_basic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tzset_basic
_tzset_basic:                           ; @tzset_basic
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
	cbnz	w19, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, _lcl_rwlock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _lcl_rwlock@GOTPAGEOFF]
	bl	__RWLOCK_RDLOCK
LBB0_3:
Lloh4:
	adrp	x22, _lcl_is_set@GOTPAGE
Lloh5:
	ldr	x22, [x22, _lcl_is_set@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _lcl_TZname@GOTPAGE
Lloh7:
	ldr	x8, [x8, _lcl_TZname@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_16
LBB0_5:
Lloh9:
	adrp	x21, _lcl_rwlock@GOTPAGE
Lloh10:
	ldr	x21, [x21, _lcl_rwlock@GOTPAGEOFF]
	mov	x0, x21
	bl	__RWLOCK_UNLOCK
	mov	x0, x21
	bl	__RWLOCK_WRLOCK
	mov	x0, x20
	bl	_strlen
	cmp	w0, #4
	cset	w8, lo
	str	w8, [x22]
	cmp	w0, #3
	b.hi	LBB0_7
; %bb.6:
Lloh11:
	adrp	x8, _lcl_TZname@GOTPAGE
Lloh12:
	ldr	x8, [x8, _lcl_TZname@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_strcpy
LBB0_7:
	ldrb	w8, [x20]
Lloh14:
	adrp	x21, _lclptr@GOTPAGE
Lloh15:
	ldr	x21, [x21, _lclptr@GOTPAGEOFF]
	ldr	x1, [x21]
	cbz	w8, LBB0_13
; %bb.8:
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_tzload
	cbz	x0, LBB0_14
; %bb.9:
	ldrb	w8, [x20]
	cmp	w8, #58
	b.eq	LBB0_11
; %bb.10:
	ldr	x1, [x21]
Lloh19:
	adrp	x8, _FALSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_tzparse
	cbz	x0, LBB0_14
LBB0_11:
	ldr	x0, [x21]
	bl	_gmtload
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	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	_tzsetwall_basic
LBB0_13:
	stp	xzr, xzr, [x1, #24]
	str	xzr, [x1, #16]
	ldr	x8, [x1, #8]
	stp	xzr, xzr, [x8, #8]
	str	xzr, [x8]
	ldr	w0, [x1]
Lloh22:
	adrp	x8, _gmt@GOTPAGE
Lloh23:
	ldr	x8, [x8, _gmt@GOTPAGEOFF]
Lloh24:
	ldr	x1, [x8]
	bl	_strcpy
LBB0_14:
	bl	_settzname
Lloh25:
	adrp	x0, _lcl_rwlock@GOTPAGE
Lloh26:
	ldr	x0, [x0, _lcl_rwlock@GOTPAGEOFF]
	bl	__RWLOCK_UNLOCK
	cbz	w19, LBB0_17
; %bb.15:
Lloh27:
	adrp	x0, _lcl_rwlock@GOTPAGE
Lloh28:
	ldr	x0, [x0, _lcl_rwlock@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	__RWLOCK_RDLOCK
LBB0_16:
	cbz	w19, LBB0_18
LBB0_17:
	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_18:
Lloh29:
	adrp	x0, _lcl_rwlock@GOTPAGE
Lloh30:
	ldr	x0, [x0, _lcl_rwlock@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	__RWLOCK_UNLOCK
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TZ"

	.comm	_lcl_rwlock,4,2                 ; @lcl_rwlock
	.comm	_lcl_is_set,4,2                 ; @lcl_is_set
	.comm	_lcl_TZname,4,2                 ; @lcl_TZname
	.comm	_lclptr,8,3                     ; @lclptr
	.comm	_gmt,8,3                        ; @gmt
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_tzset_basic
.subsections_via_symbols
