	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_enable_int
_vortex_enable_int:                     ## @vortex_enable_int
	.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
	movq	%rdi, %r14
	movl	(%rdi), %r15d
	movq	_VORTEX_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_hwread
	movq	_CTRL_IRQ_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_hwwrite
	movl	(%r14), %r14d
	movq	_VORTEX_IRQ_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_hwread
                                        ## kill: def $eax killed $eax def $rax
	andl	$-4160, %eax                    ## imm = 0xEFC0
	leal	36(%rax), %edx
	movl	%r14d, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hwwrite                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VORTEX_CTRL,4,2                ## @VORTEX_CTRL
	.comm	_CTRL_IRQ_ENABLE,4,2            ## @CTRL_IRQ_ENABLE
	.comm	_VORTEX_IRQ_CTRL,4,2            ## @VORTEX_IRQ_CTRL
	.no_dead_strip	_vortex_enable_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_enable_int
_vortex_enable_int:                     ; @vortex_enable_int
	.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
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _VORTEX_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VORTEX_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_hwread
Lloh3:
	adrp	x8, _CTRL_IRQ_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTRL_IRQ_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x20
	mov	x1, x21
	bl	_hwwrite
	ldr	w19, [x19]
Lloh6:
	adrp	x8, _VORTEX_IRQ_CTRL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VORTEX_IRQ_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_hwread
	mov	w8, #-4160
	and	w8, w0, w8
	mov	w9, #36
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x20
	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	_hwwrite
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VORTEX_CTRL,4,2                ; @VORTEX_CTRL
	.comm	_CTRL_IRQ_ENABLE,4,2            ; @CTRL_IRQ_ENABLE
	.comm	_VORTEX_IRQ_CTRL,4,2            ; @VORTEX_IRQ_CTRL
	.no_dead_strip	_vortex_enable_int
.subsections_via_symbols
