	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function template_static_params_test
_template_static_params_test:           ## @template_static_params_test
	.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	$2208, %rsp                     ## imm = 0x8A0
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -2216(%rbp)
	movq	$0, -2208(%rbp)
	leaq	-2196(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ossl_param_bld_init
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_ossl_param_bld_push_uint
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	testb	$1, %r15b
	jne	LBB0_4
## %bb.3:
	callq	_BN_new
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_4:
	callq	_BN_secure_new
LBB0_5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_26
## %bb.6:
	movq	%rbx, %rdi
	movl	$1337, %esi                     ## imm = 0x539
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_26
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	leaq	-2196(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_ossl_param_bld_push_BN
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_26
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	leaq	-2196(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	callq	_ossl_param_bld_push_utf8_string
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_26
## %bb.9:
	leaq	-2192(%rbp), %r15
	movq	%r15, %rdi
	callq	_OSSL_NELEM
	movl	$500, (%rsp)                    ## imm = 0x1F4
	leaq	-2196(%rbp), %rdi
	leaq	-1040(%rbp), %rcx
	leaq	-1552(%rbp), %r9
	movq	%r15, %rsi
	movl	%eax, %edx
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_ossl_param_bld_to_param_ex
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_26
## %bb.10:
	leaq	L_.str(%rip), %rsi
	leaq	-2192(%rbp), %rdi
	callq	_OSSL_PARAM_locate
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_26
## %bb.11:
	leaq	-2220(%rbp), %rsi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_get_uint
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_26
## %bb.12:
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_TEST_str_eq
	testl	%eax, %eax
	je	LBB0_26
## %bb.13:
	movl	8(%r15), %edi
	movq	_OSSL_PARAM_UNSIGNED_INTEGER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_TEST_uint_eq
	testl	%eax, %eax
	je	LBB0_26
## %bb.14:
	movl	24(%r15), %edi
	movl	$4, %esi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_26
## %bb.15:
	movl	-2220(%rbp), %edi
	movl	$6, %esi
	callq	_TEST_uint_eq
	testl	%eax, %eax
	je	LBB0_26
## %bb.16:
	leaq	L_.str.1(%rip), %rsi
	leaq	-2192(%rbp), %rdi
	callq	_OSSL_PARAM_locate
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_26
## %bb.17:
	leaq	-2216(%rbp), %rsi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_get_BN
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_26
## %bb.18:
	movq	(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_TEST_str_eq
	testl	%eax, %eax
	je	LBB0_26
## %bb.19:
	movl	8(%r15), %edi
	movl	(%r12), %esi
	callq	_TEST_uint_eq
	testl	%eax, %eax
	je	LBB0_26
## %bb.20:
	movl	24(%r15), %edi
	movl	$4, %esi
	callq	_TEST_size_t_le
	testl	%eax, %eax
	je	LBB0_26
## %bb.21:
	movq	-2216(%rbp), %rdi
	callq	_BN_get_word
	movl	%eax, %edi
	movl	$1337, %esi                     ## imm = 0x539
	callq	_TEST_uint_eq
	testl	%eax, %eax
	je	LBB0_26
## %bb.22:
	leaq	L_.str.2(%rip), %rsi
	leaq	-2192(%rbp), %rdi
	callq	_OSSL_PARAM_locate
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_26
## %bb.23:
	movq	16(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_TEST_str_eq
	testl	%eax, %eax
	je	LBB0_26
## %bb.24:
	leaq	-2208(%rbp), %rsi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_OSSL_PARAM_get_utf8_string
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	movq	-2208(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_TEST_str_eq
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_26:
	movq	-2208(%rbp), %rdi
	callq	_OPENSSL_free
	movq	%rbx, %rdi
	callq	_BN_free
	movq	-2216(%rbp), %rdi
	callq	_BN_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	movl	%r14d, %eax
	addq	$2208, %rsp                     ## imm = 0x8A0
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i"

L_.str.1:                               ## @.str.1
	.asciz	"bn"

L_.str.2:                               ## @.str.2
	.asciz	"utf8_s"

L_.str.3:                               ## @.str.3
	.asciz	"bar"

	.comm	_OSSL_PARAM_UNSIGNED_INTEGER,4,2 ## @OSSL_PARAM_UNSIGNED_INTEGER
	.no_dead_strip	_template_static_params_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function template_static_params_test
_template_static_params_test:           ; @template_static_params_test
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #2192
	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]
	str	xzr, [sp, #24]
	str	xzr, [sp, #8]
	add	x0, sp, #36
	bl	_ossl_param_bld_init
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #36
	mov	w2, #6
	bl	_ossl_param_bld_push_uint
	bl	_TEST_true
	cbz	w0, LBB0_3
; %bb.1:
	tbnz	w19, #0, LBB0_4
; %bb.2:
	bl	_BN_new
	b	LBB0_5
LBB0_3:
	mov	x19, #0
	b	LBB0_26
LBB0_4:
	bl	_BN_secure_new
LBB0_5:
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_26
; %bb.6:
	mov	x0, x19
	mov	w1, #1337
	bl	_BN_set_word
	bl	_TEST_true
	cbz	w0, LBB0_26
; %bb.7:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #36
	mov	x2, x19
	bl	_ossl_param_bld_push_BN
	bl	_TEST_true
	cbz	w0, LBB0_26
; %bb.8:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #36
	mov	w3, #0
	bl	_ossl_param_bld_push_utf8_string
	bl	_TEST_true
	cbz	w0, LBB0_26
; %bb.9:
	add	x0, sp, #40
	bl	_OSSL_NELEM
	mov	x2, x0
	add	x0, sp, #36
	add	x1, sp, #40
	add	x3, sp, #1184
	add	x5, sp, #684
	mov	w4, #1000
	mov	w6, #500
	bl	_ossl_param_bld_to_param_ex
	bl	_TEST_ptr
	cbz	w0, LBB0_26
; %bb.10:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #40
	bl	_OSSL_PARAM_locate
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_26
; %bb.11:
	add	x1, sp, #20
	mov	x0, x20
	bl	_OSSL_PARAM_get_uint
	bl	_TEST_true
	cbz	w0, LBB0_26
; %bb.12:
	ldr	x0, [x20]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_TEST_str_eq
	cbz	w0, LBB0_26
; %bb.13:
	ldr	w0, [x20, #8]
Lloh15:
	adrp	x21, _OSSL_PARAM_UNSIGNED_INTEGER@GOTPAGE
Lloh16:
	ldr	x21, [x21, _OSSL_PARAM_UNSIGNED_INTEGER@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_TEST_uint_eq
	cbz	w0, LBB0_26
; %bb.14:
	ldr	w0, [x20, #24]
	mov	w1, #4
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_26
; %bb.15:
	ldr	w0, [sp, #20]
	mov	w1, #6
	bl	_TEST_uint_eq
	cbz	w0, LBB0_26
; %bb.16:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #40
	bl	_OSSL_PARAM_locate
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_26
; %bb.17:
	add	x1, sp, #24
	mov	x0, x20
	bl	_OSSL_PARAM_get_BN
	bl	_TEST_true
	cbz	w0, LBB0_26
; %bb.18:
	ldr	x0, [x20]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_TEST_str_eq
	cbz	w0, LBB0_26
; %bb.19:
	ldr	w0, [x20, #8]
	ldr	w1, [x21]
	bl	_TEST_uint_eq
	cbz	w0, LBB0_26
; %bb.20:
	ldr	w0, [x20, #24]
	mov	w1, #4
	bl	_TEST_size_t_le
	cbz	w0, LBB0_26
; %bb.21:
	ldr	x0, [sp, #24]
	bl	_BN_get_word
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #1337
	bl	_TEST_uint_eq
	cbz	w0, LBB0_26
; %bb.22:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #40
	bl	_OSSL_PARAM_locate
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_26
; %bb.23:
	ldr	x0, [x20, #16]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_TEST_str_eq
	cbz	w0, LBB0_26
; %bb.24:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #0
	bl	_OSSL_PARAM_get_utf8_string
	bl	_TEST_true
	cbz	w0, LBB0_26
; %bb.25:
	ldr	x0, [sp, #8]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_TEST_str_eq
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_27
LBB0_26:
	mov	w20, #0
LBB0_27:
	ldr	x0, [sp, #8]
	bl	_OPENSSL_free
	mov	x0, x19
	bl	_BN_free
	ldr	x0, [sp, #24]
	bl	_BN_free
	ldur	x8, [x29, #-40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.28:
	mov	x0, x20
	add	sp, sp, #2192
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i"

l_.str.1:                               ; @.str.1
	.asciz	"bn"

l_.str.2:                               ; @.str.2
	.asciz	"utf8_s"

l_.str.3:                               ; @.str.3
	.asciz	"bar"

	.comm	_OSSL_PARAM_UNSIGNED_INTEGER,4,2 ; @OSSL_PARAM_UNSIGNED_INTEGER
	.no_dead_strip	_template_static_params_test
.subsections_via_symbols
