	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flite_hw_set_interrupt_mask    ## -- Begin function flite_hw_set_interrupt_mask
	.p2align	4, 0x90
_flite_hw_set_interrupt_mask:           ## @flite_hw_set_interrupt_mask
	.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
	addq	$8, %rdi
	callq	_atomic_read
	movq	_FIMC_IO_DMA@GOTPCREL(%rip), %rcx
	movq	_FLITE_REG_CIGCTRL_IRQ_OVFEN@GOTPCREL(%rip), %rdx
	movq	_FLITE_REG_CIGCTRL_IRQ_LASTEN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	movq	_FLITE_REG_CIGCTRL_IRQ_STARTEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	%esi, %ebx
	movq	_FLITE_REG_CIGCTRL_IRQ_ENDEN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ebx
	cmpq	(%rcx), %rax
	cmovnel	%esi, %ebx
	movq	_FLITE_REG_CIGCTRL@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	_FLITE_REG_CIGCTRL_IRQ_DISABLE_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%ebx
	andl	%eax, %ebx
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FIMC_IO_DMA,8,3                ## @FIMC_IO_DMA
	.comm	_FLITE_REG_CIGCTRL_IRQ_OVFEN,4,2 ## @FLITE_REG_CIGCTRL_IRQ_OVFEN
	.comm	_FLITE_REG_CIGCTRL_IRQ_LASTEN,4,2 ## @FLITE_REG_CIGCTRL_IRQ_LASTEN
	.comm	_FLITE_REG_CIGCTRL_IRQ_STARTEN,4,2 ## @FLITE_REG_CIGCTRL_IRQ_STARTEN
	.comm	_FLITE_REG_CIGCTRL_IRQ_ENDEN,4,2 ## @FLITE_REG_CIGCTRL_IRQ_ENDEN
	.comm	_FLITE_REG_CIGCTRL,8,3          ## @FLITE_REG_CIGCTRL
	.comm	_FLITE_REG_CIGCTRL_IRQ_DISABLE_MASK,4,2 ## @FLITE_REG_CIGCTRL_IRQ_DISABLE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flite_hw_set_interrupt_mask    ; -- Begin function flite_hw_set_interrupt_mask
	.p2align	2
_flite_hw_set_interrupt_mask:           ; @flite_hw_set_interrupt_mask
	.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
	add	x0, x0, #8
	bl	_atomic_read
Lloh0:
	adrp	x8, _FIMC_IO_DMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIMC_IO_DMA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _FLITE_REG_CIGCTRL_IRQ_OVFEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLITE_REG_CIGCTRL_IRQ_OVFEN@GOTPAGEOFF]
Lloh5:
	adrp	x10, _FLITE_REG_CIGCTRL_IRQ_LASTEN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FLITE_REG_CIGCTRL_IRQ_LASTEN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _FLITE_REG_CIGCTRL_IRQ_STARTEN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FLITE_REG_CIGCTRL_IRQ_STARTEN@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w10, w9, w10
Lloh12:
	adrp	x11, _FLITE_REG_CIGCTRL_IRQ_ENDEN@GOTPAGE
Lloh13:
	ldr	x11, [x11, _FLITE_REG_CIGCTRL_IRQ_ENDEN@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w10, w11
	cmp	x0, x8
	csel	w20, w10, w9, eq
	ldr	x8, [x19]
Lloh15:
	adrp	x21, _FLITE_REG_CIGCTRL@GOTPAGE
Lloh16:
	ldr	x21, [x21, _FLITE_REG_CIGCTRL@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh17:
	adrp	x8, _FLITE_REG_CIGCTRL_IRQ_DISABLE_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FLITE_REG_CIGCTRL_IRQ_DISABLE_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w8, w8, w0
	bic	w0, w8, w20
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	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	_writel
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FIMC_IO_DMA,8,3                ; @FIMC_IO_DMA
	.comm	_FLITE_REG_CIGCTRL_IRQ_OVFEN,4,2 ; @FLITE_REG_CIGCTRL_IRQ_OVFEN
	.comm	_FLITE_REG_CIGCTRL_IRQ_LASTEN,4,2 ; @FLITE_REG_CIGCTRL_IRQ_LASTEN
	.comm	_FLITE_REG_CIGCTRL_IRQ_STARTEN,4,2 ; @FLITE_REG_CIGCTRL_IRQ_STARTEN
	.comm	_FLITE_REG_CIGCTRL_IRQ_ENDEN,4,2 ; @FLITE_REG_CIGCTRL_IRQ_ENDEN
	.comm	_FLITE_REG_CIGCTRL,8,3          ; @FLITE_REG_CIGCTRL
	.comm	_FLITE_REG_CIGCTRL_IRQ_DISABLE_MASK,4,2 ; @FLITE_REG_CIGCTRL_IRQ_DISABLE_MASK
.subsections_via_symbols
