	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_cryp_hw_write_iv
_stm32_cryp_hw_write_iv:                ## @stm32_cryp_hw_write_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_CRYP_IV0LR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rsi), %edi
	callq	_cpu_to_be32
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_stm32_cryp_write
	movq	_CRYP_IV0RR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	4(%rbx), %edi
	callq	_cpu_to_be32
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_stm32_cryp_write
	movq	%r14, %rdi
	callq	_is_aes
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_CRYP_IV1LR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	8(%rbx), %edi
	callq	_cpu_to_be32
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_stm32_cryp_write
	movq	_CRYP_IV1RR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	12(%rbx), %edi
	callq	_cpu_to_be32
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stm32_cryp_write               ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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_hw_write_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_hw_write_iv
_stm32_cryp_hw_write_iv:                ; @stm32_cryp_hw_write_iv
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x1, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CRYP_IV0LR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYP_IV0LR@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w0, [x1]
	bl	_cpu_to_be32
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_stm32_cryp_write
Lloh3:
	adrp	x8, _CRYP_IV0RR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYP_IV0RR@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	w0, [x20, #4]
	bl	_cpu_to_be32
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_stm32_cryp_write
	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	w21, [x8]
	ldr	w0, [x20, #8]
	bl	_cpu_to_be32
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_stm32_cryp_write
Lloh9:
	adrp	x8, _CRYP_IV1RR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CRYP_IV1RR@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	ldr	w0, [x20, #12]
	bl	_cpu_to_be32
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_stm32_cryp_write
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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_hw_write_iv
.subsections_via_symbols
