	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_tls_crypt_v2_write_client_key_file
_test_tls_crypt_v2_write_client_key_file: ## @test_tls_crypt_v2_write_client_key_file
	.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	___wrap_buffer_write_file@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %r12
	movq	%r12, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_expect_string
	movl	(%r14), %edi
	movq	_pem@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movq	_test_client_key@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%eax, %eax
	callq	_expect_string
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_will_return
	movq	___wrap_buffer_read_from_file@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r12, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_expect_string
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_will_return
	movq	_INLINE_FILE_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_test_server_key@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tls_crypt_v2_write_client_key_file ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"testfilename.key"

	.comm	___wrap_buffer_write_file,4,2   ## @__wrap_buffer_write_file
	.comm	_pem,4,2                        ## @pem
	.comm	_test_client_key,4,2            ## @test_client_key
	.comm	___wrap_buffer_read_from_file,4,2 ## @__wrap_buffer_read_from_file
	.comm	_INLINE_FILE_TAG,4,2            ## @INLINE_FILE_TAG
	.comm	_test_server_key,4,2            ## @test_server_key
	.no_dead_strip	_test_tls_crypt_v2_write_client_key_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_tls_crypt_v2_write_client_key_file
_test_tls_crypt_v2_write_client_key_file: ; @test_tls_crypt_v2_write_client_key_file
	.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
Lloh0:
	adrp	x20, ___wrap_buffer_write_file@GOTPAGE
Lloh1:
	ldr	x20, [x20, ___wrap_buffer_write_file@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x19, l_.str@PAGE
Lloh3:
	add	x19, x19, l_.str@PAGEOFF
	str	x19, [sp]
	mov	x1, x19
	bl	_expect_string
	ldr	w0, [x20]
Lloh4:
	adrp	x8, _pem@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pem@GOTPAGEOFF]
Lloh6:
	ldrsw	x1, [x8]
Lloh7:
	adrp	x21, _test_client_key@GOTPAGE
Lloh8:
	ldr	x21, [x21, _test_client_key@GOTPAGEOFF]
	ldr	w8, [x21]
	str	x8, [sp]
	bl	_expect_string
	ldr	w0, [x20]
	mov	w1, #1
	bl	_will_return
Lloh9:
	adrp	x20, ___wrap_buffer_read_from_file@GOTPAGE
Lloh10:
	ldr	x20, [x20, ___wrap_buffer_read_from_file@GOTPAGEOFF]
	ldr	w0, [x20]
	str	x19, [sp]
	mov	x1, x19
	bl	_expect_string
	ldr	w0, [x20]
	ldr	w1, [x21]
	bl	_will_return
Lloh11:
	adrp	x8, _INLINE_FILE_TAG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INLINE_FILE_TAG@GOTPAGEOFF]
Lloh13:
	adrp	x9, _test_server_key@GOTPAGE
Lloh14:
	ldr	x9, [x9, _test_server_key@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	ldr	w3, [x9]
	mov	x0, x19
	mov	x1, #0
	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
	b	_tls_crypt_v2_write_client_key_file
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"testfilename.key"

	.comm	___wrap_buffer_write_file,4,2   ; @__wrap_buffer_write_file
	.comm	_pem,4,2                        ; @pem
	.comm	_test_client_key,4,2            ; @test_client_key
	.comm	___wrap_buffer_read_from_file,4,2 ; @__wrap_buffer_read_from_file
	.comm	_INLINE_FILE_TAG,4,2            ; @INLINE_FILE_TAG
	.comm	_test_server_key,4,2            ; @test_server_key
	.no_dead_strip	_test_tls_crypt_v2_write_client_key_file
.subsections_via_symbols
