	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function s3_parse
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_s3_parse
	.p2align	4, 0x90
_s3_parse:                              ## @s3_parse
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -160(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movl	$0, 16(%rdi)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -224(%rbp)
	movq	$0, -192(%rbp)
	leaq	L_.str(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%rbx, -176(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_1
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movq	%r14, %rax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-176(%rbp), %rax                ## 8-byte Reload
	leaq	5(%rax), %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%r12), %eax
	testb	%al, %al
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$47, %al
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	jmp	LBB0_2
LBB0_5:
	cmpq	$0, -152(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_7
## %bb.6:
	testq	%r15, %r15
	jne	LBB0_9
LBB0_7:
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	callq	_s3_read_awssecret
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %r15
	incq	%r15
LBB0_9:
	movq	%r15, -160(%rbp)                ## 8-byte Spill
	leaq	(%r12,%r13), %rbx
	leaq	L_.str.1(%rip), %rdi
	leaq	-224(%rbp), %r15
	movl	$8, %esi
	movq	%r15, %rdx
	callq	_kputsn
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_kputsn
	leaq	L_.str.2(%rip), %rdi
	movl	$17, %esi
	movq	%r15, %rdx
	movq	%r15, %r12
	callq	_kputsn
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_kputsn
	movl	-224(%rbp), %eax
	movl	%eax, 8(%r14)
	movl	$0, -224(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -216(%rbp)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, -164(%rbp)
	leaq	-164(%rbp), %rdi
	leaq	-232(%rbp), %rsi
	callq	_gmtime_r
	leaq	L_.str.3(%rip), %rdx
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%eax, %ecx
	callq	_strftime
	leaq	L_.str.4(%rip), %rdi
	movl	$6, %esi
	movq	%r15, %rdx
	callq	_kputsn
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_kputsn
	movl	-224(%rbp), %eax
	movl	%eax, 4(%r14)
	movl	$0, -224(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -216(%rbp)
	leaq	L_.str.5(%rip), %rdi
	movl	$6, %esi
	movq	%r15, %rdx
	callq	_kputsn
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_kputsn
	leaq	L_.str.6(%rip), %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_kputsn
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_kputsn
	movl	-224(%rbp), %esi
	leaq	-144(%rbp), %r15
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rdx
	callq	_s3_sign
	movq	$0, -216(%rbp)
	leaq	L_.str.7(%rip), %rdi
	movl	$19, %esi
	movq	%r12, %rdx
	callq	_kputsn
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_kputsn
	leaq	L_.str.8(%rip), %rdi
	movl	$1, %esi
	movq	%r12, %rdx
	callq	_kputsn
	movq	%r15, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_kputsn
	movl	-224(%rbp), %eax
	movl	%eax, (%r14)
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s3://"

L_.str.1:                               ## @.str.1
	.asciz	"https://"

L_.str.2:                               ## @.str.2
	.asciz	".s3.amazonaws.com"

L_.str.3:                               ## @.str.3
	.asciz	"%a, %d %b %Y %H:%M:%S +0000"

L_.str.4:                               ## @.str.4
	.asciz	"Date: "

L_.str.5:                               ## @.str.5
	.asciz	"GET\n\n\n"

L_.str.6:                               ## @.str.6
	.asciz	"\n"

L_.str.7:                               ## @.str.7
	.asciz	"Authorization: AWS "

L_.str.8:                               ## @.str.8
	.asciz	":"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s3_parse                       ; -- Begin function s3_parse
	.p2align	2
_s3_parse:                              ; @s3_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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	x25, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	x19, x8
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stp	xzr, xzr, [x19]
	str	wzr, [x19, #16]
	str	xzr, [sp, #32]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_strncmp
	cbz	w0, LBB0_3
LBB0_1:
	ldur	x8, [x29, #-72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.2:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_3:
	mov	x23, #0
	add	x24, x22, #5
	ldrb	w8, [x24, x23]
	cbz	w8, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #47
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldrb	w8, [x24, x23]
	cbnz	w8, LBB0_4
	b	LBB0_1
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	cbnz	x21, LBB0_10
LBB0_8:
	mov	x0, x25
	bl	_s3_read_awssecret
	cbz	x0, LBB0_1
; %bb.9:
	mov	x20, x0
	bl	_strlen
	add	x8, x20, w0, sxtw
	add	x21, x8, #1
LBB0_10:
	add	x25, x24, x23
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, sp
	mov	w1, #8
	bl	_kputsn
	mov	x2, sp
	mov	x0, x24
	mov	x1, x23
	bl	_kputsn
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, sp
	mov	w1, #17
	bl	_kputsn
	mov	x0, x25
	bl	_strlen
	mov	x1, x0
	mov	x2, sp
	mov	x0, x25
	bl	_kputsn
	ldr	w8, [sp]
	str	w8, [x19, #8]
	str	wzr, [sp]
	stp	xzr, xzr, [sp, #8]
	mov	w0, #0
	bl	_time
	str	w0, [sp, #52]
	add	x0, sp, #52
	add	x1, sp, #48
	bl	_gmtime_r
	mov	x3, x0
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #88
	mov	w1, #64
	bl	_strftime
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, sp
	mov	w1, #6
	bl	_kputsn
	add	x0, sp, #88
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #88
	mov	x2, sp
	bl	_kputsn
	ldr	w8, [sp]
	str	w8, [x19, #4]
	str	wzr, [sp]
	stp	xzr, xzr, [sp, #8]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x2, sp
	mov	w1, #6
	bl	_kputsn
	add	x0, sp, #88
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #88
	mov	x2, sp
	bl	_kputsn
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x2, sp
	mov	w1, #1
	bl	_kputsn
	add	x22, x22, #4
	mov	x0, x22
	bl	_strlen
	mov	x1, x0
	mov	x2, sp
	mov	x0, x22
	bl	_kputsn
	ldr	w1, [sp]
	add	x2, sp, #59
	mov	x0, x21
	bl	_s3_sign
	str	xzr, [sp, #8]
Lloh20:
	adrp	x0, l_.str.7@PAGE
Lloh21:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x2, sp
	mov	w1, #19
	bl	_kputsn
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	mov	x2, sp
	mov	x0, x20
	bl	_kputsn
Lloh22:
	adrp	x0, l_.str.8@PAGE
Lloh23:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x2, sp
	mov	w1, #1
	bl	_kputsn
	add	x0, sp, #59
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #59
	mov	x2, sp
	bl	_kputsn
	ldr	w8, [sp]
	str	w8, [x19]
	b	LBB0_1
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s3://"

l_.str.1:                               ; @.str.1
	.asciz	"https://"

l_.str.2:                               ; @.str.2
	.asciz	".s3.amazonaws.com"

l_.str.3:                               ; @.str.3
	.asciz	"%a, %d %b %Y %H:%M:%S +0000"

l_.str.4:                               ; @.str.4
	.asciz	"Date: "

l_.str.5:                               ; @.str.5
	.asciz	"GET\n\n\n"

l_.str.6:                               ; @.str.6
	.asciz	"\n"

l_.str.7:                               ; @.str.7
	.asciz	"Authorization: AWS "

l_.str.8:                               ; @.str.8
	.asciz	":"

.subsections_via_symbols
