	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ab8500_hierarchical_irq
_ab8500_hierarchical_irq:               ## @ab8500_hierarchical_irq
	.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, %r14
	movl	8(%rsi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_vdbg
	cmpq	$0, (%r14)
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	movq	_AB8500_INTERRUPT@GOTPCREL(%rip), %r12
	movq	_AB8500_IT_LATCHHIER1_REG@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	(%r14), %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	(%r13), %rdx
	addq	%rbx, %rdx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_get_register_interruptible
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ab8500_handle_hierarchical_latch
	testl	%eax, %eax
	jns	LBB0_5
LBB0_6:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"interrupt\n"

	.comm	_AB8500_INTERRUPT,4,2           ## @AB8500_INTERRUPT
	.comm	_AB8500_IT_LATCHHIER1_REG,8,3   ## @AB8500_IT_LATCHHIER1_REG
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ab8500_hierarchical_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ab8500_hierarchical_irq
_ab8500_hierarchical_irq:               ; @ab8500_hierarchical_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	ldr	w0, [x1, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_vdbg
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x21, _AB8500_INTERRUPT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AB8500_INTERRUPT@GOTPAGEOFF]
Lloh4:
	adrp	x22, _AB8500_IT_LATCHHIER1_REG@GOTPAGE
Lloh5:
	ldr	x22, [x22, _AB8500_IT_LATCHHIER1_REG@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	ldr	x8, [x22]
	add	x2, x20, x8
	add	x3, sp, #8
	mov	x0, x19
	bl	_get_register_interruptible
	tbnz	w0, #31, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [sp, #8]
	cbz	x2, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ab8500_handle_hierarchical_latch
	tbz	w0, #31, LBB0_2
LBB0_6:
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"interrupt\n"

	.comm	_AB8500_INTERRUPT,4,2           ; @AB8500_INTERRUPT
	.comm	_AB8500_IT_LATCHHIER1_REG,8,3   ; @AB8500_IT_LATCHHIER1_REG
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ab8500_hierarchical_irq
.subsections_via_symbols
