	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ab8500_handle_hierarchical_line
_ab8500_handle_hierarchical_line:       ## @ab8500_handle_hierarchical_line
	.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
	movl	%esi, %eax
	movq	%rdi, %r15
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.1:
	movq	8(%r15), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, (%rsi,%rdi,4)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	addl	$-8, %ebx
	cmpq	%rdi, %rcx
	jne	LBB0_2
LBB0_4:
	movl	28(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_5:
	movq	16(%r15), %rax
	movl	(%rax,%rdi,4), %r12d
	notl	%r12d
	xorl	%eax, %eax
	andl	%edx, %r12d
	je	LBB0_13
## %bb.6:
	movl	$-16, %r13d
	subl	%ebx, %r13d
	negl	%ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_AB9540_INT_GPIO50F@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	cmovll	%ecx, %eax
	movq	_AB8540_INT_GPIO43F@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%cl
	movq	_AB8540_INT_GPIO44F@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	sete	%dl
	orb	%cl, %dl
	movzbl	%dl, %esi
	addl	%eax, %esi
	movl	24(%r15), %edi
	callq	_irq_create_mapping
	movl	%eax, %edi
	callq	_handle_nested_irq
	andl	%r14d, %r12d
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	___ffs
                                        ## kill: def $eax killed $eax def $rax
	movl	$-2, %r14d
	movl	%eax, %ecx
	roll	%cl, %r14d
	leal	(%rbx,%rax), %edx
	movl	%edx, %ecx
	movq	_AB8500_INT_GPIO41F@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	addl	%r13d, %eax
	movl	%eax, %ecx
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	_AB8500_INT_GPIO6F@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	cmovll	%edx, %ecx
	movl	%ecx, %eax
	movq	_AB9540_INT_GPIO54F@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jg	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	-8(%rcx), %eax
	jmp	LBB0_11
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	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	"Register offset 0x%2x not declared\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_AB8500_INT_GPIO6F,4,2          ## @AB8500_INT_GPIO6F
	.comm	_AB8500_INT_GPIO41F,4,2         ## @AB8500_INT_GPIO41F
	.comm	_AB9540_INT_GPIO50F,4,2         ## @AB9540_INT_GPIO50F
	.comm	_AB9540_INT_GPIO54F,4,2         ## @AB9540_INT_GPIO54F
	.comm	_AB8540_INT_GPIO43F,4,2         ## @AB8540_INT_GPIO43F
	.comm	_AB8540_INT_GPIO44F,4,2         ## @AB8540_INT_GPIO44F
	.no_dead_strip	_ab8500_handle_hierarchical_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ab8500_handle_hierarchical_line
_ab8500_handle_hierarchical_line:       ; @ab8500_handle_hierarchical_line
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x8, x1
	mov	x19, x0
	ldr	w11, [x0]
	cmp	w11, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w21, #0
	mov	x9, #0
	ldr	x10, [x19, #8]
	lsl	x11, x11, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x9]
	cmp	w12, w8
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #4
	add	w21, w21, #8
	cmp	x11, x9
	b.ne	LBB0_2
LBB0_4:
	ldr	w0, [x19, #28]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_dev_err
Lloh2:
	adrp	x8, _ENXIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_5:
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x9]
	bics	w20, w2, w8
	b.eq	LBB0_8
; %bb.6:
	mov	w22, #1
Lloh5:
	adrp	x23, _AB8500_INT_GPIO6F@GOTPAGE
Lloh6:
	ldr	x23, [x23, _AB8500_INT_GPIO6F@GOTPAGEOFF]
Lloh7:
	adrp	x24, _AB8500_INT_GPIO41F@GOTPAGE
Lloh8:
	ldr	x24, [x24, _AB8500_INT_GPIO41F@GOTPAGEOFF]
Lloh9:
	adrp	x25, _AB9540_INT_GPIO50F@GOTPAGE
Lloh10:
	ldr	x25, [x25, _AB9540_INT_GPIO50F@GOTPAGEOFF]
Lloh11:
	adrp	x26, _AB9540_INT_GPIO54F@GOTPAGE
Lloh12:
	ldr	x26, [x26, _AB9540_INT_GPIO54F@GOTPAGEOFF]
Lloh13:
	adrp	x27, _AB8540_INT_GPIO43F@GOTPAGE
Lloh14:
	ldr	x27, [x27, _AB8540_INT_GPIO43F@GOTPAGEOFF]
Lloh15:
	adrp	x28, _AB8540_INT_GPIO44F@GOTPAGE
Lloh16:
	ldr	x28, [x28, _AB8540_INT_GPIO44F@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	___ffs
	lsl	w8, w22, w0
	bic	w20, w20, w8
	ldr	w8, [x23]
	ldr	w9, [x24]
	add	w10, w21, w0
	cmp	w10, w9
	sub	w9, w10, #16
	ccmp	w10, w8, #8, le
	csel	w8, w10, w9, lt
	ldr	w9, [x25]
	ldr	w10, [x26]
	sub	w11, w8, #8
	cmp	w8, w10
	ccmp	w8, w9, #8, le
	csel	w8, w8, w11, lt
	ldr	w9, [x27]
	cmp	w8, w9
	ldr	w9, [x28]
	ccmp	w8, w9, #4, ne
	cinc	w1, w8, eq
	ldr	w0, [x19, #24]
	bl	_irq_create_mapping
	bl	_handle_nested_irq
	cbnz	w20, LBB0_7
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Register offset 0x%2x not declared\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_AB8500_INT_GPIO6F,4,2          ; @AB8500_INT_GPIO6F
	.comm	_AB8500_INT_GPIO41F,4,2         ; @AB8500_INT_GPIO41F
	.comm	_AB9540_INT_GPIO50F,4,2         ; @AB9540_INT_GPIO50F
	.comm	_AB9540_INT_GPIO54F,4,2         ; @AB9540_INT_GPIO54F
	.comm	_AB8540_INT_GPIO43F,4,2         ; @AB8540_INT_GPIO43F
	.comm	_AB8540_INT_GPIO44F,4,2         ; @AB8540_INT_GPIO44F
	.no_dead_strip	_ab8500_handle_hierarchical_line
.subsections_via_symbols
