	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cd9660_compute_gm_offset
_cd9660_compute_gm_offset:              ## @cd9660_compute_gm_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	$56, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, -12(%rbp)
	leaq	-12(%rbp), %rbx
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_localtime_r
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_gmtime_r
	movl	-32(%rbp), %eax
	subl	-56(%rbp), %eax
	movl	-28(%rbp), %ecx
	subl	-52(%rbp), %ecx
	movl	-48(%rbp), %edx
	subl	-24(%rbp), %edx
	movq	-40(%rbp), %rsi
	shll	$3, %eax
	cmpq	-64(%rbp), %rsi
	leal	(%rax,%rax,2), %eax
	movl	$24, %esi
	cmovel	%eax, %esi
	movl	$-24, %eax
	cmovgel	%esi, %eax
	addl	%ecx, %eax
	imull	$-60, %eax, %eax
	addl	%edx, %eax
	cltq
	imulq	$-2004318071, %rax, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	shrl	$3, %eax
	addl	%ecx, %eax
	movsbl	%al, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cd9660_compute_gm_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cd9660_compute_gm_offset
_cd9660_compute_gm_offset:              ; @cd9660_compute_gm_offset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	stur	w0, [x29, #-4]
	sub	x0, x29, #4
	add	x1, sp, #32
	bl	_localtime_r
	sub	x0, x29, #4
	add	x1, sp, #8
	bl	_gmtime_r
	ldr	x8, [sp, #32]
	ldp	w9, w10, [sp, #40]
	ldp	w11, w12, [sp, #16]
	sub	w9, w11, w9
	ldr	w11, [sp, #48]
	ldr	w13, [sp, #24]
	sub	w11, w11, w13
	ldr	x13, [sp, #8]
	add	w9, w9, w9, lsl #1
	lsl	w9, w9, #3
	cmp	x13, x8
	mov	w8, #24
	csel	w8, w9, w8, eq
	mov	w9, #-24
	csel	w8, w9, w8, lt
	sub	w9, w12, w10
	add	w8, w8, w9
	mov	w9, #-60
	madd	w8, w8, w9, w11
	mov	w9, #34953
	movk	w9, #34952, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	lsr	w9, w8, #3
	add	w8, w9, w8, lsr #31
	sxtb	w0, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cd9660_compute_gm_offset
.subsections_via_symbols
