	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ab3100_irq_handler
_ab3100_irq_handler:                    ## @ab3100_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_AB3100_EVENTA1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	movl	$3, %ecx
	callq	_ab3100_get_register_page_interruptible
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movl	16(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_5
LBB0_1:
	movl	-36(%rbp), %eax
	movl	-32(%rbp), %ebx
	movl	%eax, %ecx
	shll	$16, %ecx
	shll	$8, %ebx
	orl	%ecx, %ebx
	orl	-28(%rbp), %ebx
	cmpl	$0, (%r14)
	jne	LBB0_3
## %bb.2:
	movq	8(%r14), %rcx
	movl	%eax, (%rcx)
	movl	-32(%rbp), %eax
	movl	%eax, 4(%rcx)
	movl	-28(%rbp), %eax
	movl	%eax, 8(%rcx)
	movl	$1, (%r14)
LBB0_3:
	leaq	20(%r14), %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_blocking_notifier_call_chain
	movl	16(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_5:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AB3100_EVENTA1,4,2             ## @AB3100_EVENTA1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IRQ Event: 0x%08x\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
L_.str.1:                               ## @.str.1
	.asciz	"error reading event status\n"

	.no_dead_strip	_ab3100_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ab3100_irq_handler
_ab3100_irq_handler:                    ; @ab3100_irq_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _AB3100_EVENTA1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AB3100_EVENTA1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #3
	bl	_ab3100_get_register_page_interruptible
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_2:
	ldp	w8, w9, [sp, #12]
	lsl	w9, w9, #8
	orr	w9, w9, w8, lsl #16
	ldr	w10, [sp, #20]
	orr	w20, w9, w10
	ldr	w9, [x19]
	cbnz	w9, LBB0_4
; %bb.3:
	ldr	x9, [x19, #8]
	str	w8, [x9]
	ldr	w8, [sp, #16]
	str	w8, [x9, #4]
	ldr	w8, [sp, #20]
	str	w8, [x9, #8]
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	add	x0, x19, #20
	mov	x1, x20
	mov	x2, #0
	bl	_blocking_notifier_call_chain
	ldr	w0, [x19, #16]
	str	x20, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	bl	_dev_dbg
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AB3100_EVENTA1,4,2             ; @AB3100_EVENTA1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IRQ Event: 0x%08x\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
l_.str.1:                               ; @.str.1
	.asciz	"error reading event status\n"

	.no_dead_strip	_ab3100_irq_handler
.subsections_via_symbols
