	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_decode_base64
_test_decode_base64:                    ## @test_decode_base64
	.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	%rbx
	subq	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-292(%rbp), %r14
	movq	%r14, %rdi
	callq	_h2o_mem_init_pool
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movslq	%eax, %r15
	leaq	-288(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_h2o_base64_encode
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-320(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_h2o_decode_base64url
	movq	-320(%rbp), %rbx
	xorl	%edi, %edi
	cmpq	$0, -312(%rbp)
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	%r14, %rdi
	callq	_h2o_mem_clear_pool
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The quick brown fox jumps over the lazy dog."

L_.str.1:                               ## @.str.1
	.asciz	"VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4"

	.no_dead_strip	_test_decode_base64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_decode_base64
_test_decode_base64:                    ; @test_decode_base64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, sp, #36
	bl	_h2o_mem_init_pool
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x19, w0
	add	x0, sp, #40
	mov	x1, x19
	mov	x2, #0
	mov	w3, #1
	bl	_h2o_base64_encode
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #40
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	add	x0, sp, #40
	bl	_strlen
	mov	x2, x0
	add	x8, sp, #8
	add	x0, sp, #36
	add	x1, sp, #40
	bl	_h2o_decode_base64url
	ldp	x20, x8, [sp, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	mov	x0, x20
	mov	x1, x19
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	add	x0, sp, #36
	bl	_h2o_mem_clear_pool
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #304]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The quick brown fox jumps over the lazy dog."

l_.str.1:                               ; @.str.1
	.asciz	"VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4"

	.no_dead_strip	_test_decode_base64
.subsections_via_symbols
