	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_test_init
_encode_test_init:                      ## @encode_test_init
	.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, %rbx
	movq	%rdi, %r14
	movl	$4, %edi
	callq	_OPENSSL_zalloc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TEST_error
	jmp	LBB0_10
LBB0_2:
	movq	_BASE64_CANONICAL_ENCODING@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_BASE64_VALID_ENCODING@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_8:
	movq	%r12, (%r14)
	movl	$1, %r15d
	jmp	LBB0_11
LBB0_7:
	movq	_BASE64_INVALID_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	leaq	L_.str.3(%rip), %rdi
	callq	_OPENSSL_strdup
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	jne	LBB0_8
LBB0_10:
	movq	%r12, %rdi
	callq	_OPENSSL_free
LBB0_11:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"canonical"

	.comm	_BASE64_CANONICAL_ENCODING,4,2  ## @BASE64_CANONICAL_ENCODING
L_.str.1:                               ## @.str.1
	.asciz	"valid"

	.comm	_BASE64_VALID_ENCODING,4,2      ## @BASE64_VALID_ENCODING
L_.str.2:                               ## @.str.2
	.asciz	"invalid"

	.comm	_BASE64_INVALID_ENCODING,4,2    ## @BASE64_INVALID_ENCODING
L_.str.3:                               ## @.str.3
	.asciz	"DECODE_ERROR"

L_.str.4:                               ## @.str.4
	.asciz	"Bad encoding: %s. Should be one of {canonical, valid, invalid}"

	.no_dead_strip	_encode_test_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_test_init
_encode_test_init:                      ; @encode_test_init
	.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	x21, x1
	mov	x20, x0
	mov	w0, #4
	bl	_OPENSSL_zalloc
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_11
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.4:
Lloh6:
	adrp	x0, l_.str.4@PAGE
Lloh7:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x21
	bl	_TEST_error
	b	LBB0_10
LBB0_5:
Lloh8:
	adrp	x8, _BASE64_CANONICAL_ENCODING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BASE64_CANONICAL_ENCODING@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _BASE64_VALID_ENCODING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BASE64_VALID_ENCODING@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_8:
	str	x19, [x20]
	mov	w0, #1
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x8, _BASE64_INVALID_ENCODING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BASE64_INVALID_ENCODING@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_OPENSSL_strdup
	str	x0, [x20, #8]
	bl	_TEST_ptr
	cbnz	w0, LBB0_8
LBB0_10:
	mov	x0, x19
	bl	_OPENSSL_free
	mov	w0, #0
LBB0_11:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"canonical"

	.comm	_BASE64_CANONICAL_ENCODING,4,2  ; @BASE64_CANONICAL_ENCODING
l_.str.1:                               ; @.str.1
	.asciz	"valid"

	.comm	_BASE64_VALID_ENCODING,4,2      ; @BASE64_VALID_ENCODING
l_.str.2:                               ; @.str.2
	.asciz	"invalid"

	.comm	_BASE64_INVALID_ENCODING,4,2    ; @BASE64_INVALID_ENCODING
l_.str.3:                               ; @.str.3
	.asciz	"DECODE_ERROR"

l_.str.4:                               ; @.str.4
	.asciz	"Bad encoding: %s. Should be one of {canonical, valid, invalid}"

	.no_dead_strip	_encode_test_init
.subsections_via_symbols
