	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_CIPHER_CTX_iv_length       ## -- Begin function EVP_CIPHER_CTX_iv_length
	.p2align	4, 0x90
_EVP_CIPHER_CTX_iv_length:              ## @EVP_CIPHER_CTX_iv_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_EVP_CIPHER_flags
	movq	_EVP_CIPH_CUSTOM_IV_LENGTH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_EVP_CTRL_GET_IVLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_EVP_CIPHER_CTX_ctrl
	movl	%eax, %ecx
	movl	$-1, %eax
	cmpl	$1, %ecx
	jne	LBB0_4
## %bb.2:
	movl	-12(%rbp), %eax
	jmp	LBB0_4
LBB0_3:
	movq	(%rbx), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_CIPH_CUSTOM_IV_LENGTH,4,2  ## @EVP_CIPH_CUSTOM_IV_LENGTH
	.comm	_EVP_CTRL_GET_IVLEN,4,2         ## @EVP_CTRL_GET_IVLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_CIPHER_CTX_iv_length       ; -- Begin function EVP_CIPHER_CTX_iv_length
	.p2align	2
_EVP_CIPHER_CTX_iv_length:              ; @EVP_CIPHER_CTX_iv_length
	.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	x19, x0
	ldr	x0, [x0]
	bl	_EVP_CIPHER_flags
Lloh0:
	adrp	x8, _EVP_CIPH_CUSTOM_IV_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_CIPH_CUSTOM_IV_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EVP_CTRL_GET_IVLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_CTRL_GET_IVLEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #0
	bl	_EVP_CIPHER_CTX_ctrl
	ldr	w8, [sp, #12]
	cmp	w0, #1
	csinv	w0, w8, wzr, eq
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8]
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_CIPH_CUSTOM_IV_LENGTH,4,2  ; @EVP_CIPH_CUSTOM_IV_LENGTH
	.comm	_EVP_CTRL_GET_IVLEN,4,2         ; @EVP_CTRL_GET_IVLEN
.subsections_via_symbols
