	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_http_date                  ## -- Begin function gen_http_date
	.p2align	4, 0x90
_gen_http_date:                         ## @gen_http_date
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	xorl	%r9d, %r9d
	testl	%esi, %esi
	cmovgl	%esi, %r9d
	movl	$3257812231, %eax               ## imm = 0xC22E4507
	imulq	%r9, %rax
	shrq	$48, %rax
	imull	$22967, %eax, %ecx              ## imm = 0x59B7
	shrl	$25, %ecx
	imull	$1461, %ecx, %ecx               ## imm = 0x5B5
	movl	%eax, %edx
	subl	%ecx, %edx
	movzwl	%dx, %r13d
	imulq	$285420921, %r9, %r15           ## imm = 0x11032D79
	shrq	$53, %r15
	andl	$124, %r15d
	cmpl	$365, %r13d                     ## imm = 0x16D
	jb	LBB0_4
## %bb.1:
	cmpl	$730, %r13d                     ## imm = 0x2DA
	jb	LBB0_5
## %bb.2:
	cmpl	$1096, %r13d                    ## imm = 0x448
	jb	LBB0_6
## %bb.3:
	addl	$1973, %r15d                    ## imm = 0x7B5
	addl	$-1096, %r13d                   ## imm = 0xFBB8
	jmp	LBB0_7
LBB0_4:
	addl	$1970, %r15d                    ## imm = 0x7B2
	jmp	LBB0_7
LBB0_5:
	addl	$1971, %r15d                    ## imm = 0x7B3
	addl	$-365, %r13d                    ## imm = 0xFE93
	jmp	LBB0_7
LBB0_6:
	addl	$1972, %r15d                    ## imm = 0x7B4
	addl	$-730, %r13d                    ## imm = 0xFD26
LBB0_7:
	xorl	%esi, %esi
	testb	$3, %r15b
	sete	%sil
	movq	_dd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	orl	$28, %esi
	movl	%esi, 4(%rdx)
	movb	$1, %r8b
	movl	%r13d, %edi
	subl	(%rdx), %edi
	jge	LBB0_9
## %bb.8:
	xorl	%ecx, %ecx
	jmp	LBB0_24
LBB0_9:
	movl	$3, %ecx
	movl	%edi, %r13d
	subl	%esi, %r13d
	jge	LBB0_11
LBB0_10:
	movl	%edi, %r13d
	jmp	LBB0_24
LBB0_11:
	movl	$6, %ecx
	movl	%r13d, %esi
	subl	8(%rdx), %esi
	jl	LBB0_24
## %bb.12:
	movl	$9, %ecx
	movl	%esi, %r13d
	subl	12(%rdx), %r13d
	jl	LBB0_23
## %bb.13:
	movl	$12, %ecx
	movl	%r13d, %esi
	subl	16(%rdx), %esi
	jl	LBB0_24
## %bb.14:
	movl	$15, %ecx
	movl	%esi, %r13d
	subl	20(%rdx), %r13d
	jl	LBB0_23
## %bb.15:
	movl	$18, %ecx
	movl	%r13d, %esi
	subl	24(%rdx), %esi
	jl	LBB0_24
## %bb.16:
	movl	$21, %ecx
	movl	%esi, %r13d
	subl	28(%rdx), %r13d
	jl	LBB0_23
## %bb.17:
	movl	$24, %ecx
	movl	%r13d, %esi
	subl	32(%rdx), %esi
	jl	LBB0_24
## %bb.18:
	movl	$27, %ecx
	movl	%esi, %edi
	subl	36(%rdx), %edi
	jl	LBB0_23
## %bb.19:
	movl	$30, %ecx
	movl	%edi, %r13d
	subl	40(%rdx), %r13d
	jl	LBB0_10
## %bb.21:
	movl	$33, %ecx
	movl	%r13d, %esi
	subl	44(%rdx), %esi
	jl	LBB0_24
## %bb.22:
	movl	$36, %ecx
	xorl	%r8d, %r8d
LBB0_23:
	movl	%esi, %r13d
LBB0_24:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmpl	$31, %r13d
	setb	%dl
	cmpl	$2040, %r15d                    ## imm = 0x7F8
	setb	%cl
	andb	%r8b, %cl
	andb	%dl, %cl
	movzbl	%cl, %edi
	incl	%r13d
	leal	4(%rax), %ecx
	movzwl	%cx, %edx
	imull	$9363, %edx, %edx               ## imm = 0x2493
	shrl	$16, %edx
	subl	%edx, %ecx
	movzwl	%cx, %ecx
	shrl	%ecx
	addl	%edx, %ecx
	shrl	$2, %ecx
	leal	(,%rcx,8), %edx
	subl	%edx, %ecx
	addl	%ecx, %eax
	addl	$4, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r9d, %r14d
	movl	$2443359173, %r12d              ## imm = 0x91A2B3C5
	imulq	%r14, %r12
	shrq	$43, %r12
	movl	$2863311531, %eax               ## imm = 0xAAAAAAAB
	imulq	%r12, %rax
	shrq	$36, %rax
	shll	$3, %eax
	leal	(%rax,%rax,2), %eax
	subl	%eax, %r12d
	movl	$2290649225, %eax               ## imm = 0x88888889
	imulq	%rax, %r14
	shrq	$37, %r14
	imulq	%r14, %rax
	shrq	$37, %rax
	imull	$60, %eax, %eax
	imull	$60, %r14d, %ecx
	subl	%eax, %r14d
	subl	%ecx, %r9d
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	callq	_assert
	movq	_dows@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rcx,2), %ecx
	movzwl	%cx, %edx
	addq	(%rax), %rdx
	movq	_months@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addq	(%rax), %r8
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %ecx
	movl	%r15d, %r9d
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%r14
	pushq	%r12
	callq	_sprintf
	addq	$32, %rsp
	movb	$84, 28(%rbx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dd,8,3                         ## @dd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.3s, %.2d %.3s %d %.2d:%.2d:%.2d GM"

	.comm	_dows,8,3                       ## @dows
	.comm	_months,8,3                     ## @months
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_http_date                  ; -- Begin function gen_http_date
	.p2align	2
_gen_http_date:                         ; @gen_http_date
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	cmp	w1, #0
	csel	w8, w1, wzr, gt
	mov	w9, #17671
	movk	w9, #49710, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #48
	mov	w10, #45171
	movk	w10, #5741, lsl #16
	mul	x10, x9, x10
	lsr	x10, x10, #39
	mov	w11, #1461
	msub	w10, w10, w11, w9
	mov	w11, #11641
	movk	w11, #4355, lsl #16
	umull	x11, w8, w11
	lsr	x11, x11, #53
	and	w11, w11, #0x7c
	add	w12, w11, #1970
	add	w13, w11, #1971
	sub	w14, w10, #365
	add	w15, w11, #1972
	sub	w16, w10, #730
	add	w11, w11, #1973
	subs	w17, w10, #1096
	csel	w16, w16, w17, lo
	csel	w11, w15, w11, lo
	cmp	w10, #730
	csel	w14, w14, w16, lo
	csel	w11, w13, w11, lo
	cmp	w10, #365
	csel	w10, w10, w14, lo
	csel	w20, w12, w11, lo
Lloh0:
	adrp	x11, _dd@GOTPAGE
Lloh1:
	ldr	x11, [x11, _dd@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	tst	w20, #0x3
	mov	w12, #28
	cinc	w13, w12, eq
	str	w13, [x11, #4]
	ldr	w12, [x11]
	subs	w12, w10, w12
	b.ge	LBB0_2
; %bb.1:
	mov	x24, #0
	mov	w11, #1
	b	LBB0_25
LBB0_2:
	subs	w10, w12, w13
	b.ge	LBB0_4
; %bb.3:
	mov	w11, #1
	mov	w24, #3
	mov	x10, x12
	b	LBB0_25
LBB0_4:
	ldr	w12, [x11, #8]
	subs	w12, w10, w12
	b.ge	LBB0_6
; %bb.5:
	mov	w11, #1
	mov	w24, #6
	b	LBB0_25
LBB0_6:
	ldr	w10, [x11, #12]
	subs	w10, w12, w10
	b.ge	LBB0_8
; %bb.7:
	mov	w11, #1
	mov	w24, #9
	mov	x10, x12
	b	LBB0_25
LBB0_8:
	ldr	w12, [x11, #16]
	subs	w12, w10, w12
	b.ge	LBB0_10
; %bb.9:
	mov	w11, #1
	mov	w24, #12
	b	LBB0_25
LBB0_10:
	ldr	w10, [x11, #20]
	subs	w10, w12, w10
	b.ge	LBB0_12
; %bb.11:
	mov	w11, #1
	mov	w24, #15
	mov	x10, x12
	b	LBB0_25
LBB0_12:
	ldr	w12, [x11, #24]
	subs	w12, w10, w12
	b.ge	LBB0_14
; %bb.13:
	mov	w11, #1
	mov	w24, #18
	b	LBB0_25
LBB0_14:
	ldr	w10, [x11, #28]
	subs	w10, w12, w10
	b.ge	LBB0_16
; %bb.15:
	mov	w11, #1
	mov	w24, #21
	mov	x10, x12
	b	LBB0_25
LBB0_16:
	ldr	w12, [x11, #32]
	subs	w12, w10, w12
	b.ge	LBB0_18
; %bb.17:
	mov	w11, #1
	mov	w24, #24
	b	LBB0_25
LBB0_18:
	ldr	w10, [x11, #36]
	subs	w10, w12, w10
	b.ge	LBB0_20
; %bb.19:
	mov	w11, #1
	mov	w24, #27
	mov	x10, x12
	b	LBB0_25
LBB0_20:
	ldr	w12, [x11, #40]
	subs	w12, w10, w12
	b.ge	LBB0_22
; %bb.21:
	mov	w11, #1
	mov	w24, #30
	b	LBB0_25
LBB0_22:
	ldr	w10, [x11, #44]
	subs	w10, w12, w10
	b.ge	LBB0_24
; %bb.23:
	mov	w11, #1
	mov	w24, #33
	mov	x10, x12
	b	LBB0_25
LBB0_24:
	mov	w11, #0
	mov	w24, #36
LBB0_25:
	cmp	w10, #31
	cset	w12, lo
	and	w11, w12, w11
	cmp	w20, #2040
	cset	w12, lo
	and	w0, w11, w12
	add	w21, w10, #1
	add	w9, w9, #4
	mov	w10, #18725
	movk	w10, #9362, lsl #16
	umull	x10, w9, w10
	lsr	x10, x10, #32
	sub	w11, w9, w10
	add	w10, w10, w11, lsr #1
	lsr	w10, w10, #2
	sub	w10, w10, w10, lsl #3
	add	w25, w9, w10
	mov	w9, #46021
	movk	w9, #37282, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #43
	mov	w10, #43691
	movk	w10, #43690, lsl #16
	mul	x10, x9, x10
	lsr	x10, x10, #36
	mov	w11, #24
	msub	w22, w10, w11, w9
	mov	w9, #34953
	movk	w9, #34952, lsl #16
	umull	x10, w8, w9
	lsr	x10, x10, #37
	mul	x9, x10, x9
	lsr	x9, x9, #37
	mov	w11, #60
	msub	w23, w9, w11, w10
	msub	w26, w10, w11, w8
	bl	_assert
Lloh3:
	adrp	x8, _dows@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dows@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	w9, w25, w25, lsl #1
	add	x2, x8, x9
Lloh6:
	adrp	x8, _months@GOTPAGE
Lloh7:
	ldr	x8, [x8, _months@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x4, x8, x24
	str	w26, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	mov	x5, x20
	mov	x6, x22
	mov	x7, x23
	bl	_sprintf
	mov	w8, #84
	strb	w8, [x19, #28]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_dd,8,3                         ; @dd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.3s, %.2d %.3s %d %.2d:%.2d:%.2d GM"

	.comm	_dows,8,3                       ; @dows
	.comm	_months,8,3                     ; @months
.subsections_via_symbols
