	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tzsetwall_basic
_tzsetwall_basic:                       ## @tzsetwall_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	testl	%edi, %edi
	je	LBB0_1
## %bb.6:
	movq	_lcl_is_set@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jns	LBB0_2
	jmp	LBB0_7
LBB0_1:
	movq	_lcl_rwlock@GOTPCREL(%rip), %rdi
	callq	__RWLOCK_RDLOCK
	movq	_lcl_is_set@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	js	LBB0_8
LBB0_2:
	movq	_lcl_rwlock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	__RWLOCK_UNLOCK
	movq	%rbx, %rdi
	callq	__RWLOCK_WRLOCK
	movq	_lcl_is_set@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_lclptr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_tzload
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	callq	_gmtload
LBB0_4:
	xorl	%eax, %eax
	callq	_settzname
	movq	_lcl_rwlock@GOTPCREL(%rip), %rdi
	callq	__RWLOCK_UNLOCK
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.5:
	movq	_lcl_rwlock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__RWLOCK_RDLOCK                 ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_lcl_rwlock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__RWLOCK_UNLOCK                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lcl_rwlock,4,2                 ## @lcl_rwlock
	.comm	_lcl_is_set,4,2                 ## @lcl_is_set
	.comm	_lclptr,8,3                     ## @lclptr
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_tzsetwall_basic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tzsetwall_basic
_tzsetwall_basic:                       ; @tzsetwall_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	x21, _lcl_is_set@GOTPAGE
Lloh1:
	ldr	x21, [x21, _lcl_is_set@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	tbz	w8, #31, LBB0_3
	b	LBB0_7
LBB0_2:
Lloh2:
	adrp	x0, _lcl_rwlock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _lcl_rwlock@GOTPAGEOFF]
	bl	__RWLOCK_RDLOCK
	ldr	w8, [x21]
	tbnz	w8, #31, LBB0_8
LBB0_3:
Lloh4:
	adrp	x20, _lcl_rwlock@GOTPAGE
Lloh5:
	ldr	x20, [x20, _lcl_rwlock@GOTPAGEOFF]
	mov	x0, x20
	bl	__RWLOCK_UNLOCK
	mov	x0, x20
	bl	__RWLOCK_WRLOCK
	mov	w8, #-1
	str	w8, [x21]
Lloh6:
	adrp	x20, _lclptr@GOTPAGE
Lloh7:
	ldr	x20, [x20, _lclptr@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, #0
	bl	_tzload
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x0, [x20]
	bl	_gmtload
LBB0_5:
	bl	_settzname
Lloh11:
	adrp	x0, _lcl_rwlock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _lcl_rwlock@GOTPAGEOFF]
	bl	__RWLOCK_UNLOCK
	cbz	w19, LBB0_7
; %bb.6:
Lloh13:
	adrp	x0, _lcl_rwlock@GOTPAGE
Lloh14:
	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_7:
	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_8:
Lloh15:
	adrp	x0, _lcl_rwlock@GOTPAGE
Lloh16:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_lcl_rwlock,4,2                 ; @lcl_rwlock
	.comm	_lcl_is_set,4,2                 ; @lcl_is_set
	.comm	_lclptr,8,3                     ; @lclptr
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_tzsetwall_basic
.subsections_via_symbols
