	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DetermineTimeZoneOffsetInternal
_DetermineTimeZoneOffsetInternal:       ## @DetermineTimeZoneOffsetInternal
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	callq	_IS_VALID_JULIAN
	testl	%eax, %eax
	je	LBB0_27
## %bb.1:
	movl	24(%rbx), %edi
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	callq	_date2j
	movq	_SECS_PER_DAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_UNIX_EPOCH_JDATE@GOTPCREL(%rip), %rdx
	subl	(%rdx), %eax
	movq	_MINS_PER_HOUR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	8(%rbx), %edx
	addl	4(%rbx), %edx
	imull	%ecx, %eax
	movq	_SECS_PER_MINUTE@GOTPCREL(%rip), %rsi
	imull	(%rsi), %edx
	movl	(%rbx), %r12d
	addl	%eax, %r12d
	addl	%edx, %r12d
	testl	%eax, %eax
	jle	LBB0_3
## %bb.2:
	testl	%r12d, %r12d
	js	LBB0_27
LBB0_3:
	movl	%r12d, %eax
	subl	%ecx, %eax
	movl	%eax, -48(%rbp)
	testl	%r12d, %r12d
	jns	LBB0_5
## %bb.4:
	testl	%eax, %eax
	jg	LBB0_27
LBB0_5:
	movq	%r15, (%rsp)
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-64(%rbp), %r8
	leaq	-40(%rbp), %r9
	callq	_pg_next_dst_boundary
	testl	%eax, %eax
	js	LBB0_27
## %bb.6:
	je	LBB0_7
## %bb.8:
	movq	-56(%rbp), %rax
	movl	%r12d, %ecx
	subl	%eax, %ecx
	testq	%rax, %rax
	jle	LBB0_11
## %bb.9:
	testl	%r12d, %r12d
	jns	LBB0_11
## %bb.10:
	testl	%ecx, %ecx
	jg	LBB0_27
LBB0_11:
	testq	%rax, %rax
	jg	LBB0_14
## %bb.12:
	testl	%r12d, %r12d
	jle	LBB0_14
## %bb.13:
	testl	%ecx, %ecx
	js	LBB0_27
LBB0_14:
	movq	-64(%rbp), %rdx
	movl	%r12d, %esi
	subl	%edx, %esi
	testq	%rdx, %rdx
	jle	LBB0_17
## %bb.15:
	testl	%r12d, %r12d
	jns	LBB0_17
## %bb.16:
	testl	%esi, %esi
	jg	LBB0_27
LBB0_17:
	testq	%rdx, %rdx
	jg	LBB0_20
## %bb.18:
	testl	%r12d, %r12d
	jle	LBB0_20
## %bb.19:
	testl	%esi, %esi
	jns	LBB0_20
LBB0_27:
	movl	$0, 12(%rbx)
	movl	$0, (%r14)
	xorl	%eax, %eax
LBB0_28:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	-36(%rbp), %eax
	movl	%eax, 12(%rbx)
	movl	-56(%rbp), %eax
	subl	%eax, %r12d
	movl	%r12d, (%r14)
	negl	%eax
	jmp	LBB0_28
LBB0_20:
	movl	-44(%rbp), %edi
	cmpl	%edi, %ecx
	jge	LBB0_23
## %bb.21:
	cmpl	%edi, %esi
	jge	LBB0_23
LBB0_22:
	movl	-36(%rbp), %edx
	movl	%edx, 12(%rbx)
	movl	%ecx, (%r14)
	negl	%eax
	jmp	LBB0_28
LBB0_23:
	cmpl	%edi, %ecx
	jle	LBB0_26
## %bb.24:
	cmpl	%edi, %esi
	jge	LBB0_25
LBB0_26:
	cmpl	%esi, %ecx
	jg	LBB0_22
LBB0_25:
	movl	-40(%rbp), %eax
	movl	%eax, 12(%rbx)
	movl	%esi, (%r14)
	negl	%edx
	movl	%edx, %eax
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIX_EPOCH_JDATE,4,2           ## @UNIX_EPOCH_JDATE
	.comm	_SECS_PER_DAY,4,2               ## @SECS_PER_DAY
	.comm	_MINS_PER_HOUR,4,2              ## @MINS_PER_HOUR
	.comm	_SECS_PER_MINUTE,4,2            ## @SECS_PER_MINUTE
	.no_dead_strip	_DetermineTimeZoneOffsetInternal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DetermineTimeZoneOffsetInternal
_DetermineTimeZoneOffsetInternal:       ; @DetermineTimeZoneOffsetInternal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0, #24]
	ldp	w2, w1, [x20, #16]
	bl	_IS_VALID_JULIAN
	cbz	w0, LBB0_19
; %bb.1:
	ldp	w1, w0, [x20, #20]
	ldr	w2, [x20, #16]
	bl	_date2j
Lloh0:
	adrp	x8, _SECS_PER_DAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECS_PER_DAY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _UNIX_EPOCH_JDATE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UNIX_EPOCH_JDATE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w9, w0, w9
	mul	w9, w9, w8
	ldp	w10, w11, [x20]
	ldr	w12, [x20, #8]
Lloh6:
	adrp	x13, _MINS_PER_HOUR@GOTPAGE
Lloh7:
	ldr	x13, [x13, _MINS_PER_HOUR@GOTPAGEOFF]
Lloh8:
	ldr	w13, [x13]
	madd	w11, w13, w12, w11
Lloh9:
	adrp	x12, _SECS_PER_MINUTE@GOTPAGE
Lloh10:
	ldr	x12, [x12, _SECS_PER_MINUTE@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	add	w10, w9, w10
	madd	w22, w11, w12, w10
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.2:
	tbnz	w22, #31, LBB0_19
LBB0_3:
	sub	w8, w22, w8
	str	w8, [sp, #28]
	tbz	w22, #31, LBB0_5
; %bb.4:
	cmp	w8, #0
	b.gt	LBB0_19
LBB0_5:
	add	x0, sp, #28
	add	x1, sp, #16
	add	x2, sp, #4
	add	x3, sp, #24
	add	x4, sp, #8
	mov	x5, sp
	mov	x6, x21
	bl	_pg_next_dst_boundary
	tbnz	w0, #31, LBB0_19
; %bb.6:
	cbz	w0, LBB0_21
; %bb.7:
	ldr	x8, [sp, #16]
	sub	w9, w22, w8
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.8:
	tbz	w22, #31, LBB0_10
; %bb.9:
	cmp	w9, #0
	b.gt	LBB0_19
LBB0_10:
	cmp	x8, #0
	b.gt	LBB0_13
; %bb.11:
	cmp	w22, #1
	b.lt	LBB0_13
; %bb.12:
	tbnz	w9, #31, LBB0_19
LBB0_13:
	ldr	x10, [sp, #8]
	sub	w11, w22, w10
	cmp	x10, #1
	b.lt	LBB0_16
; %bb.14:
	tbz	w22, #31, LBB0_16
; %bb.15:
	cmp	w11, #0
	b.gt	LBB0_19
LBB0_16:
	cmp	x10, #0
	b.gt	LBB0_22
; %bb.17:
	cmp	w22, #1
	b.lt	LBB0_22
; %bb.18:
	tbz	w11, #31, LBB0_22
LBB0_19:
	mov	w0, #0
	str	wzr, [x20, #12]
	str	wzr, [x19]
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_21:
	ldr	w8, [sp, #4]
	str	w8, [x20, #12]
	ldr	w8, [sp, #16]
	sub	w9, w22, w8
	str	w9, [x19]
	neg	w0, w8
	b	LBB0_20
LBB0_22:
	ldr	w12, [sp, #24]
	cmp	w9, w12
	ccmp	w11, w12, #0, lt
	b.lt	LBB0_25
; %bb.23:
	cmp	w9, w12
	ccmp	w11, w12, #8, gt
	b.ge	LBB0_26
; %bb.24:
	cmp	w9, w11
	b.le	LBB0_26
LBB0_25:
	ldr	w10, [sp, #4]
	str	w10, [x20, #12]
	str	w9, [x19]
	neg	w0, w8
	b	LBB0_20
LBB0_26:
	ldr	w8, [sp]
	str	w8, [x20, #12]
	str	w11, [x19]
	neg	w0, w10
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIX_EPOCH_JDATE,4,2           ; @UNIX_EPOCH_JDATE
	.comm	_SECS_PER_DAY,4,2               ; @SECS_PER_DAY
	.comm	_MINS_PER_HOUR,4,2              ; @MINS_PER_HOUR
	.comm	_SECS_PER_MINUTE,4,2            ; @SECS_PER_MINUTE
	.no_dead_strip	_DetermineTimeZoneOffsetInternal
.subsections_via_symbols
