	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intc_irqpin_irq_handler
_intc_irqpin_irq_handler:               ## @intc_irqpin_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	8(%rsi), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_intc_irqpin_dbg
	movq	_INTC_IRQPIN_REG_SOURCE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	4(%r15), %edx
	movq	%r14, %rdi
	callq	_intc_irqpin_hwirq_mask
	movq	%rax, %rbx
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_intc_irqpin_read
	testq	%rbx, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r12), %esi
	notq	%rbx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_intc_irqpin_write
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_intc_irqpin_dbg
	movl	(%r15), %edi
	callq	_generic_handle_irq
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"demux1"

	.comm	_INTC_IRQPIN_REG_SOURCE,4,2     ## @INTC_IRQPIN_REG_SOURCE
L_.str.1:                               ## @.str.1
	.asciz	"demux2"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_intc_irqpin_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_irq_handler
_intc_irqpin_irq_handler:               ; @intc_irqpin_irq_handler
	.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, x1
	ldr	x20, [x1, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_intc_irqpin_dbg
Lloh2:
	adrp	x22, _INTC_IRQPIN_REG_SOURCE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _INTC_IRQPIN_REG_SOURCE@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_intc_irqpin_hwirq_mask
	mov	x21, x0
	ldr	w1, [x22]
	mov	x0, x20
	bl	_intc_irqpin_read
	tst	x0, x21
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x22]
	mvn	x2, x21
	mov	x0, x20
	bl	_intc_irqpin_write
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_intc_irqpin_dbg
	ldr	w0, [x19]
	bl	_generic_handle_irq
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"demux1"

	.comm	_INTC_IRQPIN_REG_SOURCE,4,2     ; @INTC_IRQPIN_REG_SOURCE
l_.str.1:                               ; @.str.1
	.asciz	"demux2"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_intc_irqpin_irq_handler
.subsections_via_symbols
