	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m5mols_enable_interrupt        ## -- Begin function m5mols_enable_interrupt
	.p2align	4, 0x90
_m5mols_enable_interrupt:               ## @m5mols_enable_interrupt
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_to_m5mols
	movq	%rax, %rdi
	callq	_is_available_af
	movq	%rax, %r15
	movq	_REG_INT_AF@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_SYSTEM_INT_FACTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_m5mols_read_u8
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_SYSTEM_INT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%r12d
	xorl	%edx, %edx
	cmpq	$1, %r15
	sbbl	%edx, %edx
	orl	%r12d, %edx
	andl	%r14d, %edx
	movq	%rbx, %rdi
	callq	_m5mols_write
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_INT_AF,4,2                 ## @REG_INT_AF
	.comm	_SYSTEM_INT_FACTOR,4,2          ## @SYSTEM_INT_FACTOR
	.comm	_SYSTEM_INT_ENABLE,4,2          ## @SYSTEM_INT_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m5mols_enable_interrupt        ; -- Begin function m5mols_enable_interrupt
	.p2align	2
_m5mols_enable_interrupt:               ; @m5mols_enable_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_to_m5mols
	bl	_is_available_af
	mov	x21, x0
Lloh0:
	adrp	x8, _REG_INT_AF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_INT_AF@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _SYSTEM_INT_FACTOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SYSTEM_INT_FACTOR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_m5mols_read_u8
	cbnz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _SYSTEM_INT_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SYSTEM_INT_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	cmp	x21, #0
	mov	w8, #-1
	csinv	w8, w8, w22, eq
	and	w2, w8, w20
	mov	x0, x19
	bl	_m5mols_write
LBB0_2:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_INT_AF,4,2                 ; @REG_INT_AF
	.comm	_SYSTEM_INT_FACTOR,4,2          ; @SYSTEM_INT_FACTOR
	.comm	_SYSTEM_INT_ENABLE,4,2          ; @SYSTEM_INT_ENABLE
.subsections_via_symbols
