	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_cryp_irq_set_npblb
_stm32_cryp_irq_set_npblb:              ## @stm32_cryp_irq_set_npblb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_CRYP_CR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_stm32_cryp_read
	movq	_CR_CRYPEN@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_stm32_cryp_write
	movq	%r14, %rdi
	callq	_is_decrypt
	movl	(%r14), %ecx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	subl	4(%r14), %ecx
LBB0_2:
	movl	8(%r14), %edx
	subl	%ecx, %edx
	movq	_CR_NBPBL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%ebx, %edx
	orl	(%r12), %edx
	movl	(%r15), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stm32_cryp_write               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYP_CR,4,2                    ## @CRYP_CR
	.comm	_CR_CRYPEN,4,2                  ## @CR_CRYPEN
	.comm	_CR_NBPBL_SHIFT,4,2             ## @CR_NBPBL_SHIFT
	.no_dead_strip	_stm32_cryp_irq_set_npblb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_cryp_irq_set_npblb
_stm32_cryp_irq_set_npblb:              ; @stm32_cryp_irq_set_npblb
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _CRYP_CR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CRYP_CR@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_stm32_cryp_read
Lloh2:
	adrp	x22, _CR_CRYPEN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _CR_CRYPEN@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w20, w0, w8
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_stm32_cryp_write
	mov	x0, x19
	bl	_is_decrypt
	ldr	w8, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w9, [x19, #4]
	sub	w8, w8, w9
LBB0_2:
	ldr	w9, [x19, #8]
	sub	w8, w9, w8
Lloh4:
	adrp	x9, _CR_NBPBL_SHIFT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CR_NBPBL_SHIFT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w8, w8, w20
	ldr	w9, [x22]
	orr	w2, w8, w9
	ldr	w1, [x21]
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYP_CR,4,2                    ; @CRYP_CR
	.comm	_CR_CRYPEN,4,2                  ; @CR_CRYPEN
	.comm	_CR_NBPBL_SHIFT,4,2             ; @CR_NBPBL_SHIFT
	.no_dead_strip	_stm32_cryp_irq_set_npblb
.subsections_via_symbols
