	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_iv
_load_iv:                               ## @load_iv
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r12
	testl	%edx, %edx
	jle	LBB0_6
## %bb.1:
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %esi
	movq	%r13, %rdi
	callq	___bzero
	addl	%r15d, %r15d
	cmpl	$2, %r15d
	movl	$1, %r14d
	cmovgel	%r15d, %r14d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12,%rbx), %edi
	callq	_OPENSSL_hexchar2int
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %ecx
	notb	%cl
	andb	$4, %cl
	shll	%cl, %eax
	movl	%ebx, %ecx
	shrq	%rcx
	orb	%al, (%r13,%rcx)
	incq	%rbx
	addl	$4, %r15d
	cmpl	%ebx, %r14d
	jne	LBB0_2
## %bb.5:
	addq	%rbx, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_6:
	movq	%r12, (%rdi)
	movl	$1, %eax
	jmp	LBB0_7
LBB0_3:
	movq	_PEM_F_LOAD_IV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_BAD_IV_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PEMerr
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PEM_F_LOAD_IV,4,2              ## @PEM_F_LOAD_IV
	.comm	_PEM_R_BAD_IV_CHARS,4,2         ## @PEM_R_BAD_IV_CHARS
	.no_dead_strip	_load_iv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_iv
_load_iv:                               ; @load_iv
	.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
	mov	x19, x0
	ldr	x22, [x0]
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	w1, w2
	mov	x0, x20
	bl	_bzero
	mov	w24, #0
	mov	x23, #0
	lsl	w8, w21, #1
	cmp	w8, #1
	csinc	w21, w8, wzr, gt
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x22, x23]
	bl	_OPENSSL_hexchar2int
	tbnz	w0, #31, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mvn	w8, w24
	and	w8, w8, #0x4
	lsl	w8, w0, w8
	ubfx	x9, x23, #1, #31
	ldrb	w10, [x20, x9]
	orr	w8, w10, w8
	strb	w8, [x20, x9]
	add	x23, x23, #1
	add	w24, w24, #4
	cmp	w21, w23
	b.ne	LBB0_2
; %bb.4:
	add	x22, x22, x23
LBB0_5:
	str	x22, [x19]
	mov	w0, #1
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _PEM_F_LOAD_IV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PEM_F_LOAD_IV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PEM_R_BAD_IV_CHARS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PEM_R_BAD_IV_CHARS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_PEMerr
	mov	w0, #0
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PEM_F_LOAD_IV,4,2              ; @PEM_F_LOAD_IV
	.comm	_PEM_R_BAD_IV_CHARS,4,2         ; @PEM_R_BAD_IV_CHARS
	.no_dead_strip	_load_iv
.subsections_via_symbols
