	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asic3_mask_irq
_asic3_mask_irq:                        ## @asic3_mask_irq
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rbx
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_raw_spin_lock_irqsave
	movq	_ASIC3_INTR_BASE@GOTPCREL(%rip), %r12
	movq	_ASIC3_INTR_INT_MASK@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	addq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_asic3_read_register
	movq	_ASIC3_INTMASK_MASK0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r15), %ecx
	movl	(%rbx), %esi
	movq	_ASIC3_NUM_GPIOS@GOTPCREL(%rip), %rdi
	addl	(%rdi), %esi
	subl	%esi, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	notl	%edx
	andl	%eax, %edx
	movq	(%r13), %rsi
	addq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_asic3_write_register
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_spin_unlock_irqrestore     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ASIC3_INTR_BASE,8,3            ## @ASIC3_INTR_BASE
	.comm	_ASIC3_INTR_INT_MASK,8,3        ## @ASIC3_INTR_INT_MASK
	.comm	_ASIC3_INTMASK_MASK0,4,2        ## @ASIC3_INTMASK_MASK0
	.comm	_ASIC3_NUM_GPIOS,4,2            ## @ASIC3_NUM_GPIOS
	.no_dead_strip	_asic3_mask_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asic3_mask_irq
_asic3_mask_irq:                        ; @asic3_mask_irq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_irq_data_get_irq_chip_data
	mov	x20, x0
	add	x21, x0, #4
	mov	x0, x21
	bl	_raw_spin_lock_irqsave
Lloh0:
	adrp	x22, _ASIC3_INTR_BASE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ASIC3_INTR_BASE@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh2:
	adrp	x23, _ASIC3_INTR_INT_MASK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ASIC3_INTR_INT_MASK@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x1, x9, x8
	mov	x0, x20
	bl	_asic3_read_register
Lloh4:
	adrp	x8, _ASIC3_INTMASK_MASK0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ASIC3_INTMASK_MASK0@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x19]
	ldr	w10, [x20]
Lloh7:
	adrp	x11, _ASIC3_NUM_GPIOS@GOTPAGE
Lloh8:
	ldr	x11, [x11, _ASIC3_NUM_GPIOS@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	add	w10, w10, w11
	sub	w9, w9, w10
	lsl	w8, w8, w9
	bic	w2, w0, w8
	ldr	x8, [x22]
	ldr	x9, [x23]
	add	x1, x9, x8
	mov	x0, x20
	bl	_asic3_write_register
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_raw_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ASIC3_INTR_BASE,8,3            ; @ASIC3_INTR_BASE
	.comm	_ASIC3_INTR_INT_MASK,8,3        ; @ASIC3_INTR_INT_MASK
	.comm	_ASIC3_INTMASK_MASK0,4,2        ; @ASIC3_INTMASK_MASK0
	.comm	_ASIC3_NUM_GPIOS,4,2            ; @ASIC3_NUM_GPIOS
	.no_dead_strip	_asic3_mask_irq
.subsections_via_symbols
