	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DecodeTimezone                 ## -- Begin function DecodeTimezone
	.p2align	4, 0x90
_DecodeTimezone:                        ## @DecodeTimezone
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movb	(%rdi), %al
	cmpb	$43, %al
	je	LBB0_2
## %bb.1:
	cmpb	$45, %al
	jne	LBB0_21
LBB0_2:
	movq	_errno@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	leaq	1(%r13), %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoint
	movl	%eax, %r15d
	movq	(%r12), %rax
	movq	_ERANGE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_4
LBB0_3:
	movq	_DTERR_TZDISP_OVERFLOW@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_4:
	movq	-48(%rbp), %rdi
	movb	(%rdi), %cl
	xorl	%eax, %eax
	testb	%cl, %cl
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.5:
	cmpb	$58, %cl
	jne	LBB0_6
## %bb.7:
	movq	$0, (%r12)
	incq	%rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoint
	movl	%eax, %ebx
	movq	(%r12), %rax
	cmpq	(%r14), %rax
	je	LBB0_3
## %bb.8:
	movq	-48(%rbp), %rdi
	cmpb	$58, (%rdi)
	jne	LBB0_13
## %bb.9:
	movq	$0, (%r12)
	incq	%rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoint
	movq	(%r12), %rcx
	cmpq	(%r14), %rcx
	je	LBB0_3
	jmp	LBB0_14
LBB0_10:
	movq	%r13, %rdi
	callq	_strlen
	cmpl	$4, %eax
	jl	LBB0_11
## %bb.12:
	movslq	%r15d, %rax
	movl	%r15d, %ebx
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	imull	$100, %eax, %ecx
	subl	%ecx, %ebx
	movl	%eax, %r15d
	jmp	LBB0_13
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_11:
	xorl	%ebx, %ebx
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	testl	%r15d, %r15d
	js	LBB0_3
## %bb.15:
	movq	_MAX_TZDISP_HOUR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	jg	LBB0_3
## %bb.16:
	testl	%ebx, %ebx
	js	LBB0_3
## %bb.17:
	movq	_MINS_PER_HOUR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %ebx
	jge	LBB0_3
## %bb.18:
	testl	%eax, %eax
	js	LBB0_3
## %bb.19:
	movq	_SECS_PER_MINUTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_3
## %bb.20:
	imull	%r15d, %edx
	addl	%ebx, %edx
	imull	%edx, %ecx
	addl	%eax, %ecx
	movl	%ecx, %eax
	negl	%eax
	cmpb	$45, (%r13)
	cmovel	%ecx, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-48(%rbp), %rcx
	xorl	%eax, %eax
	cmpb	$0, (%rcx)
	je	LBB0_23
LBB0_21:
	movq	_DTERR_BAD_FORMAT@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTERR_BAD_FORMAT,4,2           ## @DTERR_BAD_FORMAT
	.comm	_errno,8,3                      ## @errno
	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_DTERR_TZDISP_OVERFLOW,4,2      ## @DTERR_TZDISP_OVERFLOW
	.comm	_MAX_TZDISP_HOUR,4,2            ## @MAX_TZDISP_HOUR
	.comm	_MINS_PER_HOUR,4,2              ## @MINS_PER_HOUR
	.comm	_SECS_PER_MINUTE,4,2            ## @SECS_PER_MINUTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DecodeTimezone                 ; -- Begin function DecodeTimezone
	.p2align	2
_DecodeTimezone:                        ; @DecodeTimezone
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldrb	w8, [x0]
	cmp	w8, #43
	b.eq	LBB0_2
; %bb.1:
	cmp	w8, #45
	b.ne	LBB0_4
LBB0_2:
Lloh0:
	adrp	x23, _errno@GOTPAGE
Lloh1:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	str	xzr, [x23]
	add	x0, x20, #1
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoint
	ldr	x8, [x23]
Lloh2:
	adrp	x24, _ERANGE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ERANGE@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_3:
Lloh4:
	adrp	x8, _DTERR_TZDISP_OVERFLOW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DTERR_TZDISP_OVERFLOW@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _DTERR_BAD_FORMAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DTERR_BAD_FORMAT@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	mov	x21, x0
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cbz	w9, LBB0_12
; %bb.8:
	cmp	w9, #58
	b.ne	LBB0_13
; %bb.9:
	str	xzr, [x23]
	add	x0, x8, #1
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoint
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.10:
	mov	x22, x0
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_21
; %bb.11:
	str	xzr, [x23]
	add	x0, x8, #1
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoint
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_3
	b	LBB0_14
LBB0_12:
	mov	x0, x20
	bl	_strlen
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w21, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	mov	w9, #100
	msub	w9, w8, w9, w21
	cmp	w0, #4
	csel	w21, w21, w8, lt
	csel	w22, wzr, w9, lt
	csel	w0, wzr, wzr, lt
	tbz	w21, #31, LBB0_15
	b	LBB0_3
LBB0_13:
	mov	w22, #0
	mov	w0, #0
LBB0_14:
	tbnz	w21, #31, LBB0_3
LBB0_15:
Lloh8:
	adrp	x8, _MAX_TZDISP_HOUR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_TZDISP_HOUR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w21, w8
	b.gt	LBB0_3
; %bb.16:
	tbnz	w22, #31, LBB0_3
; %bb.17:
Lloh11:
	adrp	x8, _MINS_PER_HOUR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MINS_PER_HOUR@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ge	LBB0_3
; %bb.18:
	tbnz	w0, #31, LBB0_3
; %bb.19:
Lloh14:
	adrp	x9, _SECS_PER_MINUTE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SECS_PER_MINUTE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ge	LBB0_3
; %bb.20:
	madd	w8, w8, w21, w22
	madd	w8, w9, w8, w0
	ldrb	w9, [x20]
	cmp	w9, #45
	cneg	w8, w8, ne
	str	w8, [x19]
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
Lloh17:
	adrp	x9, _DTERR_BAD_FORMAT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DTERR_BAD_FORMAT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, wzr, w9, eq
	b	LBB0_6
LBB0_21:
	mov	w0, #0
	tbz	w21, #31, LBB0_15
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DTERR_BAD_FORMAT,4,2           ; @DTERR_BAD_FORMAT
	.comm	_errno,8,3                      ; @errno
	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_DTERR_TZDISP_OVERFLOW,4,2      ; @DTERR_TZDISP_OVERFLOW
	.comm	_MAX_TZDISP_HOUR,4,2            ; @MAX_TZDISP_HOUR
	.comm	_MINS_PER_HOUR,4,2              ; @MINS_PER_HOUR
	.comm	_SECS_PER_MINUTE,4,2            ; @SECS_PER_MINUTE
.subsections_via_symbols
