	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_crypt_fail_invalid_key
_tls_crypt_fail_invalid_key:            ## @tls_crypt_fail_invalid_key
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_skip_if_tls_crypt_not_supported
	movl	$1, -32(%rbp)
	movq	%rbx, %rdi
	callq	_free_key_ctx
	leaq	16(%rbx), %rdx
	leaq	L_.str(%rip), %r8
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_init_key_ctx
	leaq	12(%rbx), %r15
	leaq	8(%rbx), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_tls_crypt_wrap
	movl	%eax, %edi
	callq	_assert_true
	movq	%r15, %rdi
	callq	_BLEN
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_BLEN
	xorl	%edi, %edi
	cmpq	%rax, %r15
	setl	%dil
	callq	_assert_true
	leaq	4(%rbx), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_tls_crypt_unwrap
	movl	%eax, %edi
	callq	_assert_false
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TEST"

	.no_dead_strip	_tls_crypt_fail_invalid_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_crypt_fail_invalid_key
_tls_crypt_fail_invalid_key:            ; @tls_crypt_fail_invalid_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x19, [x0]
	mov	x0, x19
	bl	_skip_if_tls_crypt_not_supported
	mov	w8, #1
	str	w8, [sp, #8]
	mov	x0, x19
	bl	_free_key_ctx
	add	x2, x19, #16
Lloh0:
	adrp	x4, l_.str@PAGE
Lloh1:
	add	x4, x4, l_.str@PAGEOFF
	add	x1, sp, #8
	mov	x0, x19
	mov	w3, #0
	bl	_init_key_ctx
	add	x20, x19, #12
	add	x21, x19, #8
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_tls_crypt_wrap
	bl	_assert_true
	mov	x0, x20
	bl	_BLEN
	mov	x20, x0
	mov	x0, x21
	bl	_BLEN
	cmp	x20, x0
	cset	w0, lt
	bl	_assert_true
	add	x1, x19, #4
	mov	x0, x21
	mov	x2, x19
	bl	_tls_crypt_unwrap
	bl	_assert_false
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TEST"

	.no_dead_strip	_tls_crypt_fail_invalid_key
.subsections_via_symbols
