	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_timegm                      ## -- Begin function av_timegm
	.p2align	4, 0x90
_av_timegm:                             ## @av_timegm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	leal	1(%rcx), %r8d
	leal	13(%rcx), %esi
	xorl	%edx, %edx
	cmpl	$2, %ecx
	setl	%dl
	cmovgel	%r8d, %esi
	subl	%edx, %eax
	leal	1900(%rax), %ecx
	imull	$153, %esi, %edx
	addl	$-457, %edx                     ## imm = 0xFE37
	movslq	%edx, %rdx
	imulq	$1717986919, %rdx, %r9          ## imm = 0x66666667
	movq	%r9, %rdx
	shrq	$63, %rdx
	sarq	$33, %r9
	addl	%edx, %r9d
	imull	$365, %ecx, %edx                ## imm = 0x16D
	addl	$1903, %eax                     ## imm = 0x76F
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$2, %eax
	movslq	%ecx, %r8
	imulq	$-1374389535, %r8, %rcx         ## imm = 0xAE147AE1
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$37, %rcx
	addl	%esi, %ecx
	imulq	$1374389535, %r8, %rsi          ## imm = 0x51EB851F
	movq	%rsi, %r8
	shrq	$63, %r8
	sarq	$39, %rsi
	addl	%r8d, %esi
	addl	8(%rdi), %edx
	addl	%eax, %edx
	addl	%ecx, %edx
	addl	%esi, %edx
	leal	(%rdx,%r9), %eax
	addl	$-719469, %eax                  ## imm = 0xFFF50593
	cltq
	imulq	$86400, %rax, %rcx              ## imm = 0x15180
	movslq	12(%rdi), %rax
	imulq	$3600, %rax, %rdx               ## imm = 0xE10
	movslq	16(%rdi), %rax
	imulq	$60, %rax, %rax
	addq	%rdx, %rax
	addq	24(%rdi), %rax
	addq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_timegm                      ; -- Begin function av_timegm
	.p2align	2
_av_timegm:                             ; @av_timegm
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	add	w10, w9, #13
	cmp	w9, #2
	csinc	w9, w10, w9, lt
	mov	w10, #1899
	cinc	w10, w10, ge
	add	w8, w10, w8
	mov	w10, #153
	mul	w9, w9, w10
	sub	w9, w9, #457
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #33
	mov	w11, #365
	add	w12, w8, #3
	cmp	w8, #0
	csel	w12, w12, w8, lt
	mov	w13, #31457
	movk	w13, #44564, lsl #16
	smull	x13, w8, w13
	ldp	w14, w15, [x0, #8]
                                        ; kill: def $w15 killed $w15 def $x15
	sxtw	x15, w15
	madd	w11, w8, w11, w14
	mov	w14, #34079
	movk	w14, #20971, lsl #16
	smull	x8, w8, w14
	lsr	x14, x13, #63
	asr	x13, x13, #37
	add	w11, w11, w12, asr #2
	lsr	x12, x8, #63
	asr	x8, x8, #39
	add	w13, w13, w14
	add	w11, w11, w13
	add	w8, w8, w12
	add	w8, w11, w8
	add	w9, w9, w10
	add	w8, w8, w9
	sub	w8, w8, #175, lsl #12           ; =716800
	sub	w8, w8, #2669
	mov	w9, #3600
	mul	x9, x15, x9
	ldrsw	x10, [x0, #16]
	mov	w11, #60
	madd	x9, x10, x11, x9
	ldr	x10, [x0, #24]
	add	x9, x10, x9
	mov	w10, #20864
	movk	w10, #1, lsl #16
	smaddl	x0, w8, w10, x9
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
