	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_cryp_get_iv
_stm32_cryp_get_iv:                     ## @stm32_cryp_get_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	_CRYP_IV0LR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_stm32_cryp_read
	movl	%eax, %edi
	callq	_cpu_to_be32
	movl	%eax, (%r14)
	movq	_CRYP_IV0RR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stm32_cryp_read
	movl	%eax, %edi
	callq	_cpu_to_be32
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	callq	_is_aes
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_CRYP_IV1LR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stm32_cryp_read
	movl	%eax, %edi
	callq	_cpu_to_be32
	movl	%eax, 8(%r14)
	movq	_CRYP_IV1RR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stm32_cryp_read
	movl	%eax, %edi
	callq	_cpu_to_be32
	movl	%eax, 12(%r14)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYP_IV0LR,4,2                 ## @CRYP_IV0LR
	.comm	_CRYP_IV0RR,4,2                 ## @CRYP_IV0RR
	.comm	_CRYP_IV1LR,4,2                 ## @CRYP_IV1LR
	.comm	_CRYP_IV1RR,4,2                 ## @CRYP_IV1RR
	.no_dead_strip	_stm32_cryp_get_iv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_cryp_get_iv
_stm32_cryp_get_iv:                     ; @stm32_cryp_get_iv
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x20, [x8]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _CRYP_IV0LR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYP_IV0LR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_stm32_cryp_read
	bl	_cpu_to_be32
	str	w0, [x20]
Lloh3:
	adrp	x8, _CRYP_IV0RR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYP_IV0RR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_stm32_cryp_read
	bl	_cpu_to_be32
	str	w0, [x20, #4]
	mov	x0, x19
	bl	_is_aes
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _CRYP_IV1LR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CRYP_IV1LR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_stm32_cryp_read
	bl	_cpu_to_be32
	str	w0, [x20, #8]
Lloh9:
	adrp	x8, _CRYP_IV1RR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CRYP_IV1RR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_stm32_cryp_read
	bl	_cpu_to_be32
	str	w0, [x20, #12]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYP_IV0LR,4,2                 ; @CRYP_IV0LR
	.comm	_CRYP_IV0RR,4,2                 ; @CRYP_IV0RR
	.comm	_CRYP_IV1LR,4,2                 ; @CRYP_IV1LR
	.comm	_CRYP_IV1RR,4,2                 ; @CRYP_IV1RR
	.no_dead_strip	_stm32_cryp_get_iv
.subsections_via_symbols
