	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_provider
_test_provider:                         ## @test_provider
	.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
	subq	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_OPENSSL_VERSION_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rbx, %r8
	callq	_BIO_snprintf
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_OSSL_PROVIDER_load
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_greeting_request@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_OSSL_PROVIDER_get_params
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	(%r12), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%r12), %rax
	movl	8(%rax), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_TEST_size_t_gt
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	-304(%rbp), %rsi
	movq	%r15, %rdi
	callq	_TEST_str_eq
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_OSSL_PROVIDER_unload
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r14d, %eax
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Hello OpenSSL %.20s, greetings from %s!"

	.comm	_OPENSSL_VERSION_STR,4,2        ## @OPENSSL_VERSION_STR
	.comm	_greeting_request,8,3           ## @greeting_request
	.no_dead_strip	_test_provider
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_provider
_test_provider:                         ; @test_provider
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _OPENSSL_VERSION_STR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPENSSL_VERSION_STR@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #256
	mov	x4, x19
	bl	_BIO_snprintf
	mov	x0, #0
	mov	x1, x19
	bl	_OSSL_PROVIDER_load
	mov	x19, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_6
; %bb.1:
Lloh8:
	adrp	x21, _greeting_request@GOTPAGE
Lloh9:
	ldr	x21, [x21, _greeting_request@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_OSSL_PROVIDER_get_params
	bl	_TEST_true
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x21]
	ldr	x20, [x8]
	mov	x0, x20
	bl	_TEST_ptr
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x21]
	ldr	w0, [x8, #8]
	mov	w1, #0
	bl	_TEST_size_t_gt
	cbz	x0, LBB0_6
; %bb.4:
	add	x1, sp, #8
	mov	x0, x20
	bl	_TEST_str_eq
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_OSSL_PROVIDER_unload
	bl	_TEST_true
	cmp	x0, #0
	cset	w0, ne
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Hello OpenSSL %.20s, greetings from %s!"

	.comm	_OPENSSL_VERSION_STR,4,2        ; @OPENSSL_VERSION_STR
	.comm	_greeting_request,8,3           ; @greeting_request
	.no_dead_strip	_test_provider
.subsections_via_symbols
