	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function local_time_tzoffset
_local_time_tzoffset:                   ## @local_time_tzoffset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	%edi, -12(%rbp)
	leaq	-12(%rbp), %rdi
	callq	_localtime_r
	movq	%rbx, %rdi
	callq	_tm_to_time_t
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	-12(%rbp), %edx
	movl	%eax, %ecx
	subl	%edx, %ecx
	negl	%ecx
	movl	%eax, %esi
	subl	%edx, %esi
	cmovll	%ecx, %esi
	movslq	%esi, %rcx
	imulq	$-2004318071, %rcx, %rsi        ## imm = 0x88888889
	shrq	$32, %rsi
	addl	%ecx, %esi
	movl	%esi, %edi
	shrl	$31, %edi
	sarl	$5, %esi
	addl	%edi, %esi
	movslq	%esi, %rsi
	imulq	$-2004318071, %rsi, %rdi        ## imm = 0x88888889
	shrq	$32, %rdi
	addl	%esi, %edi
	movl	%edi, %ebx
	shrl	$31, %ebx
	sarl	$5, %edi
	addl	%ebx, %edi
	imull	$60, %edi, %edi
	subl	%edi, %esi
	imulq	$-1851608123, %rcx, %rdi        ## imm = 0x91A2B3C5
	shrq	$32, %rdi
	addl	%ecx, %edi
	movl	%edi, %ecx
	shrl	$31, %ecx
	sarl	$11, %edi
	addl	%ecx, %edi
	imull	$100, %edi, %edi
	addl	%esi, %edi
	movl	%edi, %ecx
	negl	%ecx
	cmpl	%edx, %eax
	cmovgel	%edi, %ecx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_local_time_tzoffset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function local_time_tzoffset
_local_time_tzoffset:                   ; @local_time_tzoffset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	str	w0, [sp, #12]
	add	x0, sp, #12
	bl	_localtime_r
	mov	x0, x19
	bl	_tm_to_time_t
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
	sub	w9, w8, w0
	subs	w10, w0, w8
	csel	w9, w9, w10, lt
	mov	w10, #34953
	movk	w10, #34952, lsl #16
	smull	x11, w9, w10
	lsr	x11, x11, #32
	add	w11, w11, w9
	asr	w12, w11, #5
	add	w11, w12, w11, lsr #31
	smull	x10, w11, w10
	lsr	x10, x10, #32
	add	w10, w10, w11
	asr	w12, w10, #5
	add	w10, w12, w10, lsr #31
	mov	w12, #60
	msub	w10, w10, w12, w11
	cmp	w0, w8
	mov	w8, #46021
	movk	w8, #37282, lsl #16
	smull	x8, w9, w8
	lsr	x8, x8, #32
	add	w8, w8, w9
	asr	w9, w8, #11
	add	w8, w9, w8, lsr #31
	mov	w9, #100
	madd	w8, w8, w9, w10
	cneg	w0, w8, lt
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_local_time_tzoffset
.subsections_via_symbols
