	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_hash_irq_handler
_stm32_hash_irq_handler:                ## @stm32_hash_irq_handler
	.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	%rsi, %rbx
	movq	_HASH_SR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_stm32_hash_read
	movq	_HASH_SR_OUTPUT_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_1
## %bb.2:
	notl	%ecx
	andl	%ecx, %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_stm32_hash_write
	movq	_HASH_FLAGS_OUTPUT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_HASH_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_stm32_hash_write
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_SR,4,2                    ## @HASH_SR
	.comm	_HASH_SR_OUTPUT_READY,4,2       ## @HASH_SR_OUTPUT_READY
	.comm	_HASH_FLAGS_OUTPUT_READY,4,2    ## @HASH_FLAGS_OUTPUT_READY
	.comm	_HASH_IMR,4,2                   ## @HASH_IMR
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_stm32_hash_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_hash_irq_handler
_stm32_hash_irq_handler:                ; @stm32_hash_irq_handler
	.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
	mov	x19, x1
Lloh0:
	adrp	x20, _HASH_SR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HASH_SR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_stm32_hash_read
Lloh2:
	adrp	x8, _HASH_SR_OUTPUT_READY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HASH_SR_OUTPUT_READY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_stm32_hash_write
Lloh5:
	adrp	x8, _HASH_FLAGS_OUTPUT_READY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HASH_FLAGS_OUTPUT_READY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh8:
	adrp	x8, _HASH_IMR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HASH_IMR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_stm32_hash_write
Lloh11:
	adrp	x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_SR,4,2                    ; @HASH_SR
	.comm	_HASH_SR_OUTPUT_READY,4,2       ; @HASH_SR_OUTPUT_READY
	.comm	_HASH_FLAGS_OUTPUT_READY,4,2    ; @HASH_FLAGS_OUTPUT_READY
	.comm	_HASH_IMR,4,2                   ; @HASH_IMR
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_stm32_hash_irq_handler
.subsections_via_symbols
