	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_optional
_test_optional:                         ## @test_optional
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$256, %rsp                      ## imm = 0x100
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	l___const.test_optional.tests(%rip), %rsi
	leaq	-192(%rbp), %r14
	movl	$160, %edx
	movq	%r14, %rdi
	callq	_memcpy
	movl	$0, -200(%rbp)
	movl	$1, -196(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -272(%rbp)
	leaq	-272(%rbp), %rax
	movq	%rax, -168(%rbp)
	leaq	-200(%rbp), %rax
	movq	%rax, -248(%rbp)
	movq	$0, -240(%rbp)
	leaq	-248(%rbp), %rcx
	movq	%rcx, -128(%rbp)
	movq	$0, -232(%rbp)
	leaq	-196(%rbp), %rcx
	movq	%rcx, -224(%rbp)
	leaq	-232(%rbp), %rdx
	movq	%rdx, -88(%rbp)
	movq	%rax, -216(%rbp)
	movq	%rcx, -208(%rbp)
	leaq	-216(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	_encode_TESTOptional@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_length_TESTOptional@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_decode_TESTOptional@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_free_TESTOptional@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_cmp_TESTOptional@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movq	_copy_TESTOptional@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	$4, %esi
	movl	$16, %edx
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_generic_test
	addq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$256, %rsp                      ## imm = 0x100
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l_.str:                                 ## @.str
	.asciz	"0\000"

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"optional 0"

	.section	__TEXT,__literal8,8byte_literals
L_.str.2:                               ## @.str.2
	.asciz	"0\005\240\003\002\001\000"

	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"optional 1"

L_.str.4:                               ## @.str.4
	.asciz	"0\005\241\003\002\001\001"

L_.str.5:                               ## @.str.5
	.asciz	"optional 2"

	.section	__TEXT,__const
l_.str.6:                               ## @.str.6
	.asciz	"0\n\240\003\002\001\000\241\003\002\001\001"

	.section	__TEXT,__cstring,cstring_literals
L_.str.7:                               ## @.str.7
	.asciz	"optional 3"

	.section	__DATA,__const
	.p2align	4                               ## @__const.test_optional.tests
l___const.test_optional.tests:
	.long	0                               ## 0x0
	.space	4
	.quad	2
	.quad	l_.str
	.quad	L_.str.1
	.quad	0
	.long	0                               ## 0x0
	.space	4
	.quad	7
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	0
	.long	0                               ## 0x0
	.space	4
	.quad	7
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	0
	.long	0                               ## 0x0
	.space	4
	.quad	12
	.quad	l_.str.6
	.quad	L_.str.7
	.quad	0

	.comm	_encode_TESTOptional,8,3        ## @encode_TESTOptional
	.comm	_length_TESTOptional,8,3        ## @length_TESTOptional
	.comm	_decode_TESTOptional,8,3        ## @decode_TESTOptional
	.comm	_free_TESTOptional,8,3          ## @free_TESTOptional
	.comm	_cmp_TESTOptional,4,2           ## @cmp_TESTOptional
	.comm	_copy_TESTOptional,8,3          ## @copy_TESTOptional
	.no_dead_strip	_test_optional
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_optional
_test_optional:                         ; @test_optional
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w27, -24
	.cfi_offset w28, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.test_optional.tests@PAGE
Lloh4:
	add	x8, x8, l___const.test_optional.tests@PAGEOFF
	add	x9, sp, #80
	ldp	q0, q1, [x8, #96]
	stp	q0, q1, [x9, #96]
	ldp	q0, q1, [x8, #128]
	stp	q0, q1, [x9, #128]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #112]
	ldp	q0, q1, [x8, #64]
	stp	q0, q1, [x9, #64]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #80]
	mov	w8, #1
	stp	w8, wzr, [sp, #8]
	stp	xzr, xzr, [sp, #64]
	add	x8, sp, #64
	str	x8, [sp, #104]
	add	x8, sp, #12
	stp	x8, xzr, [sp, #48]
	add	x9, sp, #48
	add	x10, sp, #8
	stp	xzr, x10, [sp, #32]
	add	x11, sp, #32
	str	x9, [sp, #144]
	str	x11, [sp, #184]
	stp	x8, x10, [sp, #16]
	add	x8, sp, #16
	str	x8, [sp, #224]
Lloh5:
	adrp	x8, _encode_TESTOptional@GOTPAGE
Lloh6:
	ldr	x8, [x8, _encode_TESTOptional@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _length_TESTOptional@GOTPAGE
Lloh9:
	ldr	x8, [x8, _length_TESTOptional@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
Lloh11:
	adrp	x8, _decode_TESTOptional@GOTPAGE
Lloh12:
	ldr	x8, [x8, _decode_TESTOptional@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
Lloh14:
	adrp	x8, _free_TESTOptional@GOTPAGE
Lloh15:
	ldr	x8, [x8, _free_TESTOptional@GOTPAGEOFF]
Lloh16:
	ldr	w6, [x8]
Lloh17:
	adrp	x8, _cmp_TESTOptional@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cmp_TESTOptional@GOTPAGEOFF]
Lloh19:
	ldr	w7, [x8]
Lloh20:
	adrp	x8, _copy_TESTOptional@GOTPAGE
Lloh21:
	ldr	x8, [x8, _copy_TESTOptional@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	w8, [sp]
	add	x0, sp, #80
	mov	w1, #4
	mov	w2, #16
	bl	_generic_test
	ldur	x8, [x29, #-24]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l_.str:                                 ; @.str
	.asciz	"0\000"

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"optional 0"

	.section	__TEXT,__literal8,8byte_literals
l_.str.2:                               ; @.str.2
	.asciz	"0\005\240\003\002\001\000"

	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"optional 1"

l_.str.4:                               ; @.str.4
	.asciz	"0\005\241\003\002\001\001"

l_.str.5:                               ; @.str.5
	.asciz	"optional 2"

	.section	__TEXT,__const
l_.str.6:                               ; @.str.6
	.asciz	"0\n\240\003\002\001\000\241\003\002\001\001"

	.section	__TEXT,__cstring,cstring_literals
l_.str.7:                               ; @.str.7
	.asciz	"optional 3"

	.section	__DATA,__const
	.p2align	3                               ; @__const.test_optional.tests
l___const.test_optional.tests:
	.long	0                               ; 0x0
	.space	4
	.quad	2
	.quad	l_.str
	.quad	l_.str.1
	.quad	0
	.long	0                               ; 0x0
	.space	4
	.quad	7
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	0
	.long	0                               ; 0x0
	.space	4
	.quad	7
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	0
	.long	0                               ; 0x0
	.space	4
	.quad	12
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	0

	.comm	_encode_TESTOptional,8,3        ; @encode_TESTOptional
	.comm	_length_TESTOptional,8,3        ; @length_TESTOptional
	.comm	_decode_TESTOptional,8,3        ; @decode_TESTOptional
	.comm	_free_TESTOptional,8,3          ; @free_TESTOptional
	.comm	_cmp_TESTOptional,4,2           ; @cmp_TESTOptional
	.comm	_copy_TESTOptional,8,3          ; @copy_TESTOptional
	.no_dead_strip	_test_optional
.subsections_via_symbols
