	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sata_oxnas_irq_on
_sata_oxnas_irq_on:                     ## @sata_oxnas_irq_on
	.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	8(%rdi), %r14
	movq	_COREINT_END@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movb	(%rdi), %cl
	shll	%cl, %ebx
	movq	_INT_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	$-1, %edi
	callq	_iowrite32
	movq	_CORE_INT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_iowrite32
	xorl	%eax, %eax
	callq	_wmb
	movq	_INT_WANT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_INT_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_iowrite32
	movq	_CORE_INT_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iowrite32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COREINT_END,4,2                ## @COREINT_END
	.comm	_INT_CLEAR,8,3                  ## @INT_CLEAR
	.comm	_CORE_INT_STATUS,8,3            ## @CORE_INT_STATUS
	.comm	_INT_WANT,4,2                   ## @INT_WANT
	.comm	_INT_ENABLE,8,3                 ## @INT_ENABLE
	.comm	_CORE_INT_ENABLE,8,3            ## @CORE_INT_ENABLE
	.no_dead_strip	_sata_oxnas_irq_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sata_oxnas_irq_on
_sata_oxnas_irq_on:                     ; @sata_oxnas_irq_on
	.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
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _COREINT_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COREINT_END@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	lsl	w19, w8, w9
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _INT_CLEAR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INT_CLEAR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #-1
	bl	_iowrite32
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _CORE_INT_STATUS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CORE_INT_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_iowrite32
	bl	_wmb
Lloh9:
	adrp	x8, _INT_WANT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INT_WANT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
Lloh12:
	adrp	x9, _INT_ENABLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _INT_ENABLE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_iowrite32
	ldr	x8, [x20]
Lloh15:
	adrp	x9, _CORE_INT_ENABLE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CORE_INT_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iowrite32
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COREINT_END,4,2                ; @COREINT_END
	.comm	_INT_CLEAR,8,3                  ; @INT_CLEAR
	.comm	_CORE_INT_STATUS,8,3            ; @CORE_INT_STATUS
	.comm	_INT_WANT,4,2                   ; @INT_WANT
	.comm	_INT_ENABLE,8,3                 ; @INT_ENABLE
	.comm	_CORE_INT_ENABLE,8,3            ; @CORE_INT_ENABLE
	.no_dead_strip	_sata_oxnas_irq_on
.subsections_via_symbols
