	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__der_timegm                    ## -- Begin function _der_timegm
	.p2align	4, 0x90
__der_timegm:                           ## @_der_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_ASN1_MAX_YEAR@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	(%rax), %edi
	jg	LBB0_17
## %bb.1:
	movl	$-1, %ebx
	testl	%edi, %edi
	js	LBB0_17
## %bb.2:
	cmpl	$11, 4(%r14)
	ja	LBB0_17
## %bb.3:
	movl	8(%r14), %r12d
	testl	%r12d, %r12d
	jle	LBB0_17
## %bb.4:
	movq	_ndays@GOTPCREL(%rip), %r15
	movq	(%r15), %r13
	callq	_is_leap
	movq	(%r13,%rax,8), %rcx
	movslq	4(%r14), %rax
	cmpl	(%rcx,%rax,8), %r12d
	jg	LBB0_17
## %bb.5:
	cmpl	$23, 12(%r14)
	ja	LBB0_17
## %bb.6:
	cmpl	$59, 16(%r14)
	ja	LBB0_17
## %bb.7:
	cmpl	$59, 20(%r14)
	ja	LBB0_17
## %bb.8:
	movl	(%r14), %edi
	xorl	%r12d, %r12d
	cmpl	$71, %edi
	jl	LBB0_12
## %bb.9:
	movl	$70, %ebx
LBB0_10:                                ## =>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
	jl	LBB0_10
## %bb.11:
	movl	4(%r14), %eax
LBB0_12:
	testl	%eax, %eax
	jle	LBB0_16
## %bb.13:
	movq	(%r15), %rbx
	callq	_is_leap
	movq	(%rbx,%rax,8), %rax
	addl	(%rax), %r12d
	cmpl	$2, 4(%r14)
	jl	LBB0_16
## %bb.14:
	movl	$1, %ebx
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	(%r15), %r13
	callq	_is_leap
	movq	(%r13,%rax,8), %rax
	addl	(%rax,%rbx,8), %r12d
	incq	%rbx
	movslq	4(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_16:
	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), %ebx
	addl	$-86400, %ebx                   ## imm = 0xFFFEAE80
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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_timegm                    ; -- Begin function _der_timegm
	.p2align	2
__der_timegm:                           ; @_der_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	w0, [x0]
Lloh0:
	adrp	x8, _ASN1_MAX_YEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_MAX_YEAR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_10
LBB0_2:
	tbnz	w0, #31, LBB0_9
; %bb.3:
	ldr	w8, [x19, #4]
	cmp	w8, #11
	b.hi	LBB0_9
; %bb.4:
	ldr	w20, [x19, #8]
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.5:
Lloh3:
	adrp	x21, _ndays@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ndays@GOTPAGEOFF]
	ldr	x22, [x21]
	bl	_is_leap
	ldr	x9, [x22, x0, lsl #3]
	ldrsw	x8, [x19, #4]
	ldr	x9, [x9, x8, lsl #3]
	cmp	w20, w9
	b.gt	LBB0_9
; %bb.6:
	ldr	w9, [x19, #12]
	cmp	w9, #23
	b.hi	LBB0_9
; %bb.7:
	ldr	w9, [x19, #16]
	cmp	w9, #59
	b.hi	LBB0_9
; %bb.8:
	ldr	w9, [x19, #20]
	cmp	w9, #59
	b.ls	LBB0_11
LBB0_9:
	mov	w0, #-1
LBB0_10:
	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_11:
	ldr	w0, [x19]
	cmp	w0, #71
	b.lt	LBB0_15
; %bb.12:
	mov	w22, #0
	mov	w20, #70
	mov	w23, #365
LBB0_13:                                ; =>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.lt	LBB0_13
; %bb.14:
	ldr	w8, [x19, #4]
	b	LBB0_16
LBB0_15:
	mov	w22, #0
LBB0_16:
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.17:
	ldr	x20, [x21]
	bl	_is_leap
	ldr	x8, [x20, x0, lsl #3]
	ldr	w8, [x8]
	add	w22, w22, w8
	ldr	w8, [x19, #4]
	cmp	w8, #2
	b.lt	LBB0_20
; %bb.18:
	mov	w20, #1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	x23, [x21]
	bl	_is_leap
	ldr	x8, [x23, x0, lsl #3]
	ldr	x8, [x8, x20, lsl #3]
	add	w22, w22, w8
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.lt	LBB0_19
LBB0_20:
	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_10
	.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
