	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_gmt_offset
_calc_gmt_offset:                       ## @calc_gmt_offset
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	%edi, -12(%rbp)
	leaq	-12(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_gmtime_r
	movq	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movq	-40(%rbp), %xmm1                ## xmm1 = mem[0],zero
	psubd	%xmm1, %xmm0
	movd	%xmm0, %eax
	imull	$60, %eax, %ecx
	pextrd	$1, %xmm0, %eax
	addl	%ecx, %eax
	movq	8(%rbx), %rcx
	movq	-32(%rbp), %rdx
	cmpq	%rdx, %rcx
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rsi
	movq	-24(%rbp), %rdi
	subl	%edx, %ecx
	movl	%esi, %edx
	subl	%edi, %edx
	cmpq	%rdi, %rsi
	cmovel	%ecx, %edx
	imull	$1440, %edx, %ecx               ## imm = 0x5A0
	addl	%ecx, %eax
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calc_gmt_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_gmt_offset
_calc_gmt_offset:                       ; @calc_gmt_offset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	stur	w0, [x29, #-20]
	sub	x0, x29, #20
	mov	x1, sp
	bl	_gmtime_r
	ldp	w8, w9, [x19]
	ldp	w10, w11, [sp]
	sub	w8, w8, w10
	mov	w10, #60
	sub	w9, w9, w11
	madd	w0, w8, w10, w9
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	x10, [x19, #16]
	ldr	x11, [sp, #16]
	sub	w8, w8, w9
	sub	w9, w10, w11
	cmp	x10, x11
	csel	w8, w8, w9, eq
	mov	w9, #1440
	madd	w0, w8, w9, w0
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calc_gmt_offset
.subsections_via_symbols
