	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rk_timegm                      ## -- Begin function rk_timegm
	.p2align	4, 0x90
_rk_timegm:                             ## @rk_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
	movl	$-1, %r12d
	cmpl	$11, 4(%rdi)
	ja	LBB0_15
## %bb.1:
	movq	%rdi, %r14
	movl	8(%rdi), %ebx
	testl	%ebx, %ebx
	jle	LBB0_15
## %bb.2:
	movl	(%r14), %edi
	callq	_is_leap
	movslq	4(%r14), %rcx
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	leaq	_rk_timegm.ndays(%rip), %r15
	addq	%r15, %rax
	cmpl	(%rax,%rcx,4), %ebx
	ja	LBB0_15
## %bb.3:
	cmpl	$23, 12(%r14)
	ja	LBB0_15
## %bb.4:
	cmpl	$59, 16(%r14)
	ja	LBB0_15
## %bb.5:
	cmpl	$59, 20(%r14)
	ja	LBB0_15
## %bb.6:
	movl	(%r14), %edi
	xorl	%r12d, %r12d
	cmpl	$71, %edi
	jb	LBB0_10
## %bb.7:
	movl	$70, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_is_leap
	cmpq	$1, %rax
	sbbl	$0, %r12d
	addl	$366, %r12d                     ## imm = 0x16E
	incl	%ebx
	movl	(%r14), %edi
	cmpl	%edi, %ebx
	jb	LBB0_8
## %bb.9:
	movl	4(%r14), %ecx
LBB0_10:
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.11:
	callq	_is_leap
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	addl	(%rax,%r15), %r12d
	cmpl	$2, 4(%r14)
	jb	LBB0_14
## %bb.12:
	movl	$1, %ebx
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_is_leap
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	addq	%r15, %rax
	addl	(%rax,%rbx,4), %r12d
	incq	%rbx
	movl	4(%r14), %eax
	cmpq	%rax, %rbx
	jb	LBB0_13
LBB0_14:
	addl	8(%r14), %r12d
	leal	(%r12,%r12,2), %eax
	shll	$3, %eax
	addl	12(%r14), %eax
	imull	$60, %eax, %eax
	addl	16(%r14), %eax
	imull	$60, %eax, %eax
	movl	20(%r14), %ecx
	leal	(%rax,%rcx), %r12d
	addl	$-86400, %r12d                  ## imm = 0xFFFEAE80
LBB0_15:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @rk_timegm.ndays
_rk_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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rk_timegm                      ; -- Begin function rk_timegm
	.p2align	2
_rk_timegm:                             ; @rk_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
	ldr	w8, [x0, #4]
	cmp	w8, #11
	b.hi	LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w20, [x0, #8]
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.2:
	ldr	w0, [x19]
	bl	_is_leap
	ldrsw	x8, [x19, #4]
	mov	w9, #48
Lloh0:
	adrp	x21, _rk_timegm.ndays@PAGE
Lloh1:
	add	x21, x21, _rk_timegm.ndays@PAGEOFF
	madd	x9, x0, x9, x21
	ldr	w9, [x9, x8, lsl #2]
	cmp	w20, w9
	b.hi	LBB0_6
; %bb.3:
	ldr	w9, [x19, #12]
	cmp	w9, #23
	b.hi	LBB0_6
; %bb.4:
	ldr	w9, [x19, #16]
	cmp	w9, #59
	b.hi	LBB0_6
; %bb.5:
	ldr	w9, [x19, #20]
	cmp	w9, #59
	b.ls	LBB0_8
LBB0_6:
	mov	w0, #-1
LBB0_7:
	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
LBB0_8:
	ldr	w0, [x19]
	cmp	w0, #71
	b.lo	LBB0_12
; %bb.9:
	mov	w22, #0
	mov	w20, #70
	mov	w23, #365
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_is_leap
	cmp	x0, #0
	cinc	w8, w23, ne
	add	w22, w8, w22
	add	w20, w20, #1
	ldr	w0, [x19]
	cmp	w20, w0
	b.lo	LBB0_10
; %bb.11:
	ldr	w8, [x19, #4]
	b	LBB0_13
LBB0_12:
	mov	w22, #0
LBB0_13:
	cbz	w8, LBB0_17
; %bb.14:
	bl	_is_leap
	mov	w8, #48
	mul	x8, x0, x8
	ldr	w8, [x21, x8]
	add	w22, w8, w22
	ldr	w8, [x19, #4]
	cmp	w8, #2
	b.lo	LBB0_17
; %bb.15:
	mov	w20, #1
	mov	w23, #48
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_is_leap
	madd	x8, x0, x23, x21
	ldr	w8, [x8, x20, lsl #2]
	add	w22, w8, w22
	add	x20, x20, #1
	ldr	w8, [x19, #4]
	cmp	x20, x8
	b.lo	LBB0_16
LBB0_17:
	ldp	w8, w9, [x19, #8]
	add	w8, w22, w8
	mov	w10, #24
	madd	w8, w8, w10, w9
	mov	w9, #60
	ldp	w10, w11, [x19, #16]
	madd	w8, w8, w9, w10
	sub	w8, w8, #1440
	madd	w0, w8, w9, w11
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @rk_timegm.ndays
_rk_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

.subsections_via_symbols
