	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__der_gmtime                    ## -- Begin function _der_gmtime
	.p2align	4, 0x90
__der_gmtime:                           ## @_der_gmtime
	.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	%rsi, %r14
	movslq	%edi, %r15
	imulq	$-1037155065, %r15, %rbx        ## imm = 0xC22E4507
	shrq	$32, %rbx
	addl	%r15d, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	sarl	$16, %ebx
	addl	%eax, %ebx
	imull	$86400, %ebx, %eax              ## imm = 0x15180
	subl	%eax, %r15d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movslq	%r15d, %rax
	imulq	$-2004318071, %rax, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$5, %ecx
	addl	%edx, %ecx
	imull	$60, %ecx, %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	movl	%edx, (%r14)
	imulq	$-1851608123, %rax, %rcx        ## imm = 0x91A2B3C5
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$11, %ecx
	addl	%edx, %ecx
	imull	$3600, %ecx, %edx               ## imm = 0xE10
	subl	%edx, %eax
	movswl	%ax, %edx
	imull	$-30583, %edx, %edx             ## imm = 0x8889
	shrl	$16, %edx
	addl	%eax, %edx
	movzwl	%dx, %eax
	movswl	%ax, %edx
	shrl	$15, %eax
	sarl	$5, %edx
	addl	%eax, %edx
	movswl	%dx, %eax
	movl	%eax, 4(%r14)
	movl	%ecx, 8(%r14)
	movq	_ASN1_MAX_YEAR@GOTPCREL(%rip), %rax
	imull	$365, (%rax), %eax              ## imm = 0x16D
	cmpl	%eax, %ebx
	jle	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_2:
	movl	$70, 12(%r14)
	movl	$70, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	callq	_is_leap
	cmpq	$1, %rax
	movl	$366, %eax                      ## imm = 0x16E
	sbbl	$0, %eax
	cmpl	%eax, %ebx
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	subl	%eax, %ebx
	movl	12(%r14), %edi
	incl	%edi
	movl	%edi, 12(%r14)
	jmp	LBB0_4
LBB0_5:
	movq	$0, 16(%r14)
	movq	_ndays@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r12
	movl	12(%r14), %edi
	callq	_is_leap
	movq	(%r12,%rax,8), %rcx
	movq	16(%r14), %rax
	movl	(%rcx,%rax,4), %ecx
	cmpl	%ecx, %ebx
	jb	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	subl	%ecx, %ebx
	incq	%rax
	movq	%rax, 16(%r14)
	jmp	LBB0_7
LBB0_8:
	incl	%ebx
	movl	%ebx, 24(%r14)
LBB0_9:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_MAX_YEAR,4,2              ## @ASN1_MAX_YEAR
	.comm	_ndays,8,3                      ## @ndays
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__der_gmtime                    ; -- Begin function _der_gmtime
	.p2align	2
__der_gmtime:                           ; @_der_gmtime
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	w8, #17671
	movk	w8, #49710, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w9, w8, #16
	add	w20, w9, w8, lsr #31
	mov	w8, #20864
	movk	w8, #1, lsl #16
	msub	w21, w20, w8, w0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	w8, #34953
	movk	w8, #34952, lsl #16
	smull	x8, w21, w8
	lsr	x8, x8, #32
	add	w8, w8, w21
	asr	w9, w8, #5
	add	w8, w9, w8, lsr #31
	mov	w9, #60
	msub	w8, w8, w9, w21
	mov	w9, #46021
	movk	w9, #37282, lsl #16
	smull	x9, w21, w9
	lsr	x9, x9, #32
	add	w9, w9, w21
	asr	w10, w9, #11
	add	w9, w10, w9, lsr #31
	mov	w10, #3600
	msub	w10, w9, w10, w21
	sxth	w11, w10
	mov	w12, #-30583
	mul	w11, w11, w12
	add	w10, w10, w11, lsr #16
	and	w11, w10, #0x8000
	sbfx	w10, w10, #5, #11
	add	w10, w10, w11, lsr #15
	stp	w8, w10, [x19]
	str	w9, [x19, #8]
Lloh0:
	adrp	x8, _ASN1_MAX_YEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_MAX_YEAR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w21, #365
	mul	w8, w8, w21
	cmp	w20, w8
	b.le	LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_9
LBB0_2:
	mov	w8, #70
	str	w8, [x19, #12]
	mov	w0, #70
	bl	_is_leap
	cmp	x0, #0
	cinc	w8, w21, ne
	cmp	w20, w8
	b.lo	LBB0_5
; %bb.3:
	mov	w21, #365
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, #12]
	add	w0, w9, #1
	str	w0, [x19, #12]
	sub	w20, w20, w8
	bl	_is_leap
	cmp	x0, #0
	cinc	w8, w21, ne
	cmp	w20, w8
	b.hs	LBB0_4
LBB0_5:
	str	xzr, [x19, #16]
Lloh3:
	adrp	x21, _ndays@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ndays@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x21]
	ldr	w0, [x19, #12]
	bl	_is_leap
	ldr	x9, [x22, x0, lsl #3]
	ldr	x8, [x19, #16]
	ldr	w9, [x9, x8, lsl #2]
	cmp	w20, w9
	b.lo	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w20, w20, w9
	add	x8, x8, #1
	str	x8, [x19, #16]
	b	LBB0_6
LBB0_8:
	add	w8, w20, #1
	str	w8, [x19, #24]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_MAX_YEAR,4,2              ; @ASN1_MAX_YEAR
	.comm	_ndays,8,3                      ; @ndays
.subsections_via_symbols
