	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_EVP_CIPHER_fetch
_test_EVP_CIPHER_fetch:                 ## @test_EVP_CIPHER_fetch
	.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	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	$0, -72(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movabsq	$8031924123371070792, %rax      ## imm = 0x6F77206F6C6C6548
	movq	%rax, -64(%rbp)
	movl	$6581362, -56(%rbp)             ## imm = 0x646C72
	movq	_use_default_ctx@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.1:
	leaq	-72(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_load_providers
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_EVP_aes_128_cbc
	leaq	-64(%rbp), %rsi
	movq	%rax, %rdi
	movl	$12, %edx
	callq	_encrypt_decrypt
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	-72(%rbp), %rdi
	movq	_fetch_property@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_EVP_CIPHER_fetch
	movq	%rax, %rbx
	movq	_expected_fetch_result@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$12, %edx
	callq	_encrypt_decrypt
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	jne	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_up_ref
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_meth_free
	jmp	LBB0_11
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	movq	%rbx, %rdi
	callq	_TEST_ptr_null
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	movl	$1, %r14d
	jmp	LBB0_12
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
LBB0_12:
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_meth_free
	movq	-48(%rbp), %rdi
	callq	_OSSL_PROVIDER_unload
	movq	-40(%rbp), %rdi
	callq	_OSSL_PROVIDER_unload
	movq	-72(%rbp), %rdi
	callq	_OPENSSL_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.test_EVP_CIPHER_fetch.testmsg: ## @__const.test_EVP_CIPHER_fetch.testmsg
	.asciz	"Hello world"

	.comm	_use_default_ctx,8,3            ## @use_default_ctx
L_.str:                                 ## @.str
	.asciz	"AES-128-CBC"

	.comm	_fetch_property,4,2             ## @fetch_property
	.comm	_expected_fetch_result,8,3      ## @expected_fetch_result
	.no_dead_strip	_test_EVP_CIPHER_fetch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_EVP_CIPHER_fetch
_test_EVP_CIPHER_fetch:                 ; @test_EVP_CIPHER_fetch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	stp	xzr, xzr, [sp, #24]
Lloh3:
	adrp	x8, l___const.test_EVP_CIPHER_fetch.testmsg@PAGE
Lloh4:
	add	x8, x8, l___const.test_EVP_CIPHER_fetch.testmsg@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	stp	xzr, x8, [sp]
	mov	w8, #27762
	movk	w8, #100, lsl #16
	str	w8, [sp, #16]
Lloh6:
	adrp	x8, _use_default_ctx@GOTPAGE
Lloh7:
	ldr	x8, [x8, _use_default_ctx@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x0, sp
	add	x1, sp, #24
	bl	_load_providers
	cbz	w0, LBB0_8
LBB0_2:
	bl	_EVP_aes_128_cbc
	add	x1, sp, #8
	mov	w2, #12
	bl	_encrypt_decrypt
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.3:
	ldr	x0, [sp]
Lloh9:
	adrp	x8, _fetch_property@GOTPAGE
Lloh10:
	ldr	x8, [x8, _fetch_property@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_EVP_CIPHER_fetch
	mov	x19, x0
Lloh14:
	adrp	x8, _expected_fetch_result@GOTPAGE
Lloh15:
	ldr	x8, [x8, _expected_fetch_result@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_TEST_ptr
	cbz	w0, LBB0_6
; %bb.5:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #12
	bl	_encrypt_decrypt
	bl	_TEST_true
	cbnz	w0, LBB0_10
LBB0_6:
	mov	x0, x19
	bl	_EVP_CIPHER_up_ref
	bl	_TEST_true
	cbz	w0, LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_EVP_CIPHER_meth_free
	b	LBB0_10
LBB0_8:
	mov	x19, #0
	mov	w20, #0
	b	LBB0_12
LBB0_9:
	mov	x0, x19
	bl	_TEST_ptr_null
	cbz	w0, LBB0_11
LBB0_10:
	mov	w20, #1
	b	LBB0_12
LBB0_11:
	mov	w20, #0
LBB0_12:
	mov	x0, x19
	bl	_EVP_CIPHER_meth_free
	ldr	x0, [sp, #24]
	bl	_OSSL_PROVIDER_unload
	ldr	x0, [sp, #32]
	bl	_OSSL_PROVIDER_unload
	ldr	x0, [sp]
	bl	_OPENSSL_CTX_free
	ldur	x8, [x29, #-24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.test_EVP_CIPHER_fetch.testmsg: ; @__const.test_EVP_CIPHER_fetch.testmsg
	.asciz	"Hello world"

	.comm	_use_default_ctx,8,3            ; @use_default_ctx
l_.str:                                 ; @.str
	.asciz	"AES-128-CBC"

	.comm	_fetch_property,4,2             ; @fetch_property
	.comm	_expected_fetch_result,8,3      ; @expected_fetch_result
	.no_dead_strip	_test_EVP_CIPHER_fetch
.subsections_via_symbols
