	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intc_irqpin_shared_irq_handler
_intc_irqpin_shared_irq_handler:        ## @intc_irqpin_shared_irq_handler
	.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	%rsi, %r15
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movq	_INTC_IRQPIN_REG_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_intc_irqpin_read
	movl	%eax, %r13d
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$7, %ebx
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r14
	decl	%ebx
	addq	$4, %r12
	cmpq	$8, %r14
	je	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_BIT
	testl	%r13d, %eax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_BIT
	testl	%eax, (%r15)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rsi
	addq	%r12, %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_intc_irqpin_irq_handler
	orl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_4
LBB0_5:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTC_IRQPIN_REG_SOURCE,4,2     ## @INTC_IRQPIN_REG_SOURCE
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_intc_irqpin_shared_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intc_irqpin_shared_irq_handler
_intc_irqpin_shared_irq_handler:        ; @intc_irqpin_shared_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _INTC_IRQPIN_REG_SOURCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTC_IRQPIN_REG_SOURCE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intc_irqpin_read
	mov	x21, x0
	mov	x25, #0
	mov	x22, #0
Lloh3:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	w24, #7
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	sub	w24, w24, #1
	add	x25, x25, #4
	cmp	x22, #8
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_BIT
	ldr	w8, [x19]
	tst	w8, w0
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x25
	mov	x0, x20
	bl	_intc_irqpin_irq_handler
	orr	w23, w0, w23
	b	LBB0_1
LBB0_5:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTC_IRQPIN_REG_SOURCE,4,2     ; @INTC_IRQPIN_REG_SOURCE
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_intc_irqpin_shared_irq_handler
.subsections_via_symbols
