	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s3c_irq_mask
_s3c_irq_mask:                          ## @s3c_irq_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %r14
	movq	24(%rax), %r12
	movq	24(%r12), %r15
	movl	16(%r12), %edi
	callq	_readl_relaxed
	movq	%rax, %rbx
	movzbl	(%r14), %eax
	btsq	%rax, %rbx
	movl	16(%r12), %esi
	movq	%rbx, %rdi
	callq	_writel_relaxed
	testq	%r15, %r15
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rax
	movq	8(%r14), %rsi
	movq	%rsi, %rcx
	shlq	$5, %rcx
	notq	%rbx
	testq	%rbx, 16(%rax,%rcx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_irq_get_irq_data
	movq	%rax, %rdi
	jmp	LBB0_1
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_s3c_irq_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s3c_irq_mask
_s3c_irq_mask:                          ; @s3c_irq_mask
	.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
	bl	_irq_data_get_irq_chip_data
	mov	x19, x0
	ldr	x22, [x0, #24]
	ldr	x21, [x22, #24]
	ldr	w0, [x22, #16]
	bl	_readl_relaxed
	ldr	x8, [x19]
	mov	w9, #1
	lsl	x8, x9, x8
	orr	x20, x8, x0
	ldr	w1, [x22, #16]
	mov	x0, x20
	bl	_writel_relaxed
	cbz	x21, LBB0_4
; %bb.1:
	mov	w22, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x1, [x19, #8]
	add	x8, x8, x1, lsl #5
	ldr	x8, [x8, #16]
	bics	xzr, x8, x20
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	bl	_irq_find_mapping
	bl	_irq_get_irq_data
	bl	_irq_data_get_irq_chip_data
	mov	x19, x0
	ldr	x23, [x0, #24]
	ldr	x21, [x23, #24]
	ldr	w0, [x23, #16]
	bl	_readl_relaxed
	ldr	x8, [x19]
	lsl	x8, x22, x8
	orr	x20, x8, x0
	ldr	w1, [x23, #16]
	mov	x0, x20
	bl	_writel_relaxed
	cbnz	x21, LBB0_2
LBB0_4:
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_s3c_irq_mask
.subsections_via_symbols
