	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function irqc_irq_handler
_irqc_irq_handler:                      ## @irqc_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, %rbx
	movq	8(%rsi), %r15
	movl	(%rsi), %edi
	callq	_BIT
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_irqc_dbg
	movq	_DETECT_STATUS@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	8(%r15), %rdi
	callq	_ioread32
	testl	%r14d, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r12), %rsi
	addq	8(%r15), %rsi
	movl	%r14d, %edi
	callq	_iowrite32
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_irqc_dbg
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_irq_find_mapping
	movl	%eax, %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	_DETECT_STATUS,8,3              ## @DETECT_STATUS
L_.str.1:                               ## @.str.1
	.asciz	"demux2"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_irqc_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function irqc_irq_handler
_irqc_irq_handler:                      ; @irqc_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	x21, [x1, #8]
	ldr	w0, [x1]
	bl	_BIT
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_irqc_dbg
	ldr	x8, [x21, #8]
Lloh2:
	adrp	x22, _DETECT_STATUS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DETECT_STATUS@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_ioread32
	tst	w0, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	x0, x20
	bl	_iowrite32
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_irqc_dbg
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_irq_find_mapping
	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	_DETECT_STATUS,8,3              ; @DETECT_STATUS
l_.str.1:                               ; @.str.1
	.asciz	"demux2"

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