	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ab8500_handle_hierarchical_latch
_ab8500_handle_hierarchical_latch:      ## @ab8500_handle_hierarchical_latch
	.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	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	leal	(,%r14,8), %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$-2, %eax
	movl	%r12d, %ecx
	roll	%cl, %eax
	andl	%eax, %ebx
	je	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	___ffs
	movl	%eax, %r12d
	leal	(%r12,%r13), %eax
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rdi
	movl	%r14d, %esi
	callq	_update_latch_offset
	movq	_AB8500_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	-44(%rbp), %rdx
	movq	_AB8500_IT_LATCH1_REG@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	movq	%r15, %rdi
	leaq	-48(%rbp), %rcx
	callq	_get_register_interruptible
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	callq	_ab8500_handle_hierarchical_line
	testl	%eax, %eax
	jns	LBB0_4
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AB8500_INTERRUPT,4,2           ## @AB8500_INTERRUPT
	.comm	_AB8500_IT_LATCH1_REG,8,3       ## @AB8500_IT_LATCH1_REG
	.no_dead_strip	_ab8500_handle_hierarchical_latch
.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_latch
_ab8500_handle_hierarchical_latch:      ; @ab8500_handle_hierarchical_latch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	lsl	w23, w1, #3
Lloh0:
	adrp	x24, _AB8500_INTERRUPT@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AB8500_INTERRUPT@GOTPAGEOFF]
Lloh2:
	adrp	x25, _AB8500_IT_LATCH1_REG@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AB8500_IT_LATCH1_REG@GOTPAGEOFF]
	mov	w26, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	lsl	w8, w26, w22
	bics	w19, w19, w8
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	___ffs
	mov	x22, x0
	add	w8, w0, w23
	str	w8, [sp, #12]
	add	x0, sp, #12
	mov	x1, x20
	bl	_update_latch_offset
	ldr	w1, [x24]
	ldr	x8, [x25]
	ldrsw	x9, [sp, #12]
	add	x2, x8, x9
	add	x3, sp, #8
	mov	x0, x21
	bl	_get_register_interruptible
	tbnz	w0, #31, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [sp, #8]
	cbz	w2, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [sp, #12]
	mov	x0, x21
	bl	_ab8500_handle_hierarchical_line
	tbz	w0, #31, LBB0_1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AB8500_INTERRUPT,4,2           ; @AB8500_INTERRUPT
	.comm	_AB8500_IT_LATCH1_REG,8,3       ; @AB8500_IT_LATCH1_REG
	.no_dead_strip	_ab8500_handle_hierarchical_latch
.subsections_via_symbols
