	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rc5_set_ctx_params
_rc5_set_ctx_params:                    ## @rc5_set_ctx_params
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_cipher_generic_set_ctx_params
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	_OSSL_CIPHER_PARAM_ROUNDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	leaq	-28(%rbp), %rsi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_get_uint
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	-28(%rbp), %eax
	movq	_RC5_8_ROUNDS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.5:
	movq	_RC5_12_ROUNDS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.6:
	movq	_RC5_16_ROUNDS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.7:
	movq	_PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_PROV_R_FAILED_TO_GET_PARAMETER@GOTPCREL(%rip), %rax
LBB0_8:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_10:
	movl	%eax, (%r14)
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSL_CIPHER_PARAM_ROUNDS,4,2   ## @OSSL_CIPHER_PARAM_ROUNDS
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_FAILED_TO_GET_PARAMETER,4,2 ## @PROV_R_FAILED_TO_GET_PARAMETER
	.comm	_RC5_8_ROUNDS,4,2               ## @RC5_8_ROUNDS
	.comm	_RC5_12_ROUNDS,4,2              ## @RC5_12_ROUNDS
	.comm	_RC5_16_ROUNDS,4,2              ## @RC5_16_ROUNDS
	.comm	_PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS,4,2 ## @PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS
	.no_dead_strip	_rc5_set_ctx_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rc5_set_ctx_params
_rc5_set_ctx_params:                    ; @rc5_set_ctx_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_cipher_generic_set_ctx_params
	cbz	w0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _OSSL_CIPHER_PARAM_ROUNDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSSL_CIPHER_PARAM_ROUNDS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_5
; %bb.2:
	add	x1, sp, #12
	bl	_OSSL_PARAM_get_uint
	cbz	w0, LBB0_6
; %bb.3:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _RC5_8_ROUNDS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RC5_8_ROUNDS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _RC5_12_ROUNDS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RC5_12_ROUNDS@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _RC5_16_ROUNDS@GOTPAGE
Lloh10:
	ldr	x11, [x11, _RC5_16_ROUNDS@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.ne	LBB0_7
; %bb.4:
	str	w8, [x19]
LBB0_5:
	mov	w0, #1
	b	LBB0_9
LBB0_6:
Lloh12:
	adrp	x8, _PROV_R_FAILED_TO_GET_PARAMETER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PROV_R_FAILED_TO_GET_PARAMETER@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS@GOTPAGEOFF]
LBB0_8:
Lloh16:
	adrp	x9, _ERR_LIB_PROV@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSL_CIPHER_PARAM_ROUNDS,4,2   ; @OSSL_CIPHER_PARAM_ROUNDS
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_FAILED_TO_GET_PARAMETER,4,2 ; @PROV_R_FAILED_TO_GET_PARAMETER
	.comm	_RC5_8_ROUNDS,4,2               ; @RC5_8_ROUNDS
	.comm	_RC5_12_ROUNDS,4,2              ; @RC5_12_ROUNDS
	.comm	_RC5_16_ROUNDS,4,2              ; @RC5_16_ROUNDS
	.comm	_PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS,4,2 ; @PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS
	.no_dead_strip	_rc5_set_ctx_params
.subsections_via_symbols
