	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_param_bignum
_test_param_bignum:                     ## @test_param_bignum
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_raw_values@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	%r14d, %r14
	shlq	$4, %r14
	movq	(%rax,%r14), %rbx
	movq	$0, -56(%rbp)
	movq	_OSSL_PARAM_UNSIGNED_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_OSSL_PARAM_DEFN
	movq	%r12, -80(%rbp)
	movq	%rbx, -72(%rbp)
	movq	(%r13), %rax
	movl	8(%rax,%r14), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_le_copy
	movq	(%r13), %rax
	movl	8(%rax,%r14), %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_BN_lebin2bn
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	leaq	-80(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_OSSL_PARAM_set_BN
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	-64(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rcx, %rsi
	movq	%r15, %rdx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	movl	$0, %r14d
	je	LBB0_7
## %bb.3:
	movq	-64(%rbp), %rax
	movq	%rax, -72(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_OSSL_PARAM_get_BN
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_TEST_BN_eq
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
	jmp	LBB0_7
LBB0_6:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%rbx, %rdi
	callq	_BN_free
	movq	-56(%rbp), %rdi
	callq	_BN_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LEN,4,2                    ## @MAX_LEN
	.comm	_raw_values,8,3                 ## @raw_values
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bn"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_param_bignum
_test_param_bignum:                     ; @test_param_bignum
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #48
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x1fffffff0
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
Lloh10:
	adrp	x22, _raw_values@GOTPAGE
Lloh11:
	ldr	x22, [x22, _raw_values@GOTPAGEOFF]
	ldr	x8, [x22]
	sbfiz	x23, x0, #4, #32
	ldr	x19, [x8, x23]
	stur	xzr, [x29, #-64]
Lloh12:
	adrp	x8, _OSSL_PARAM_UNSIGNED_INTEGER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OSSL_PARAM_UNSIGNED_INTEGER@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	sub	x8, x29, #88
	mov	x2, #0
	mov	w3, #0
	bl	_OSSL_PARAM_DEFN
	stp	x21, x19, [x29, #-88]
	ldr	x8, [x22]
	add	x8, x8, x23
	ldr	w1, [x8, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_le_copy
	ldr	x8, [x22]
	add	x8, x8, x23
	ldr	w0, [x8, #8]
	mov	x1, x19
	mov	x2, #0
	bl	_BN_lebin2bn
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_5
; %bb.1:
	sub	x0, x29, #88
	mov	x1, x19
	bl	_OSSL_PARAM_set_BN
	bl	_TEST_true
	cbz	w0, LBB0_5
; %bb.2:
	ldur	x1, [x29, #-72]
	mov	x0, x21
	mov	x2, x20
	mov	x3, x1
	bl	_TEST_mem_eq
	cbz	w0, LBB0_5
; %bb.3:
	ldur	x8, [x29, #-72]
	stur	x8, [x29, #-80]
	sub	x0, x29, #88
	sub	x1, x29, #64
	bl	_OSSL_PARAM_get_BN
	bl	_TEST_true
	cbz	w0, LBB0_5
; %bb.4:
	ldur	x1, [x29, #-64]
	mov	x0, x19
	bl	_TEST_BN_eq
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x19
	bl	_BN_free
	ldur	x0, [x29, #-64]
	bl	_BN_free
	ldur	x8, [x29, #-56]
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_8
; %bb.7:
	mov	x0, x20
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LEN,4,2                    ; @MAX_LEN
	.comm	_raw_values,8,3                 ; @raw_values
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bn"

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