	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function timegm
LCPI0_0:
	.long	86400                           ## 0x15180
	.long	86400                           ## 0x15180
	.long	86400                           ## 0x15180
	.long	86400                           ## 0x15180
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_timegm:                                ## @timegm
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$1900, %edi                     ## imm = 0x76C
	addl	(%r15), %edi
	callq	_is_leapyear
	movq	%rax, %r14
	movl	(%r15), %r12d
	cmpl	$69, %r12d
	jle	LBB0_1
## %bb.3:
	xorl	%ebx, %ebx
	cmpl	$70, %r12d
	je	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movl	$1970, %r12d                    ## imm = 0x7B2
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_is_leapyear
	leal	31622400(%rbx), %ecx
	addl	$31536000, %ebx                 ## imm = 0x1E13380
	testq	%rax, %rax
	cmovnel	%ecx, %ebx
	leal	1(%r12), %eax
	addl	$-1899, %r12d                   ## imm = 0xF895
	cmpl	(%r15), %r12d
	movl	%eax, %r12d
	jl	LBB0_5
	jmp	LBB0_6
LBB0_1:
	addl	$1900, %r12d                    ## imm = 0x76C
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_is_leapyear
	leal	-31622400(%rbx), %ecx
	addl	$-31536000, %ebx                ## imm = 0xFE1ECC80
	testq	%rax, %rax
	cmovnel	%ecx, %ebx
	incl	%r12d
	cmpl	$1970, %r12d                    ## imm = 0x7B2
	jne	LBB0_2
LBB0_6:
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.7:
	cmpl	$8, %eax
	jae	LBB0_9
## %bb.8:
	xorl	%ecx, %ecx
	jmp	LBB0_16
LBB0_9:
	movl	%eax, %ecx
	andl	$-8, %ecx
	movd	%ebx, %xmm0
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.11:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	leaq	(%r14,%r14,2), %rdx
	shlq	$4, %rdx
	leaq	_timegm.ndays(%rip), %rbx
	addq	%rdx, %rbx
	addq	$48, %rbx
	pxor	%xmm1, %xmm1
	xorl	%edx, %edx
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [86400,86400,86400,86400]
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movdqa	-48(%rbx,%rdx,4), %xmm3
	pmulld	%xmm2, %xmm3
	paddd	%xmm0, %xmm3
	movdqa	-32(%rbx,%rdx,4), %xmm4
	pmulld	%xmm2, %xmm4
	paddd	%xmm1, %xmm4
	movdqa	-16(%rbx,%rdx,4), %xmm0
	pmulld	%xmm2, %xmm0
	paddd	%xmm3, %xmm0
	movdqa	(%rbx,%rdx,4), %xmm1
	pmulld	%xmm2, %xmm1
	paddd	%xmm4, %xmm1
	addq	$16, %rdx
	addq	$-2, %rdi
	jne	LBB0_12
## %bb.13:
	testb	$1, %sil
	je	LBB0_15
LBB0_14:
	leaq	(%r14,%r14,2), %rsi
	shlq	$4, %rsi
	leaq	_timegm.ndays(%rip), %rdi
	addq	%rsi, %rdi
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [86400,86400,86400,86400]
	movdqa	(%rdi,%rdx,4), %xmm3
	pmulld	%xmm2, %xmm3
	paddd	%xmm3, %xmm0
	pmulld	16(%rdi,%rdx,4), %xmm2
	paddd	%xmm2, %xmm1
LBB0_15:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %ebx
	cmpq	%rax, %rcx
	je	LBB0_18
LBB0_16:
	leaq	(%r14,%r14,2), %rdx
	shlq	$4, %rdx
	leaq	_timegm.ndays(%rip), %rsi
	addq	%rdx, %rsi
	leaq	(%rsi,%rcx,4), %rdx
	subq	%rcx, %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	imull	$86400, (%rdx,%rcx,4), %esi     ## imm = 0x15180
	addl	%esi, %ebx
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_17
LBB0_18:
	imull	$86400, 8(%r15), %eax           ## imm = 0x15180
	addl	%ebx, %eax
	imull	$3600, 12(%r15), %ecx           ## imm = 0xE10
	imull	$60, 16(%r15), %edx
	addl	%eax, %ecx
	addl	%ecx, %edx
	movl	24(%r15), %eax
	addl	%edx, %eax
	addl	$-86400, %eax                   ## imm = 0xFFFEAE80
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	pxor	%xmm1, %xmm1
	xorl	%edx, %edx
	testb	$1, %sil
	jne	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @timegm.ndays
_timegm.ndays:
	.long	31                              ## 0x1f
	.long	28                              ## 0x1c
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	31                              ## 0x1f
	.long	29                              ## 0x1d
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f

	.no_dead_strip	_timegm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timegm
_timegm:                                ; @timegm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w8, [x0]
	add	w0, w8, #1900
	bl	_is_leapyear
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #69
	b.le	LBB0_3
; %bb.1:
	cmp	w8, #70
	b.ne	LBB0_5
; %bb.2:
	mov	w22, #0
	b	LBB0_7
LBB0_3:
	mov	w22, #0
	add	w21, w8, #1900
	mov	w23, #31488
	movk	w23, #65053, lsl #16
	mov	w24, #52352
	movk	w24, #65054, lsl #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_is_leapyear
	cmp	x0, #0
	csel	w8, w24, w23, eq
	add	w22, w8, w22
	add	w21, w21, #1
	cmp	w21, #1970
	b.ne	LBB0_4
	b	LBB0_7
LBB0_5:
	mov	w22, #0
	mov	w21, #1970
	mov	w23, #34048
	movk	w23, #482, lsl #16
	mov	w24, #13184
	movk	w24, #481, lsl #16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_is_leapyear
	cmp	x0, #0
	csel	w8, w24, w23, eq
	add	w22, w8, w22
	ldr	w8, [x19]
	sub	w9, w21, #1899
	add	w21, w21, #1
	cmp	w9, w8
	b.lt	LBB0_6
LBB0_7:
	mov	w8, #20864
	movk	w8, #1, lsl #16
	ldr	w9, [x19, #4]
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.8:
Lloh0:
	adrp	x10, _timegm.ndays@PAGE
Lloh1:
	add	x10, x10, _timegm.ndays@PAGEOFF
	cmp	w9, #16
	b.hs	LBB0_10
; %bb.9:
	mov	x11, #0
	b	LBB0_13
LBB0_10:
	and	x11, x9, #0xfffffff0
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w22
	mov	w12, #48
	madd	x12, x20, x12, x10
	add	x12, x12, #32
	mov	w13, #20864
	movk	w13, #1, lsl #16
	dup.4s	v2, w13
	mov	x13, x11
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q5, q6, [x12, #-32]
	ldp	q7, q16, [x12], #64
	mla.4s	v1, v5, v2
	mla.4s	v0, v6, v2
	mla.4s	v3, v7, v2
	mla.4s	v4, v16, v2
	subs	x13, x13, #16
	b.ne	LBB0_11
; %bb.12:
	add.4s	v0, v0, v1
	add.4s	v0, v3, v0
	add.4s	v0, v4, v0
	addv.4s	s0, v0
	fmov	w22, s0
	cmp	x11, x9
	b.eq	LBB0_15
LBB0_13:
	mov	w12, #48
	madd	x10, x20, x12, x10
	add	x10, x10, x11, lsl #2
	sub	x9, x9, x11
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	madd	w22, w11, w8, w22
	subs	x9, x9, #1
	b.ne	LBB0_14
LBB0_15:
	ldp	w9, w10, [x19, #8]
	mov	w11, #3600
	ldr	w12, [x19, #16]
	mov	w13, #60
	ldr	w14, [x19, #24]
	madd	w8, w9, w8, w22
	madd	w8, w10, w11, w8
	madd	w8, w12, w13, w8
	add	w8, w8, w14
	sub	w8, w8, #21, lsl #12            ; =86016
	sub	w0, w8, #384
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @timegm.ndays
_timegm.ndays:
	.long	31                              ; 0x1f
	.long	28                              ; 0x1c
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	31                              ; 0x1f
	.long	29                              ; 0x1d
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f

	.no_dead_strip	_timegm
.subsections_via_symbols
