	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ab8500_registers_print
_ab8500_registers_print:                ## @ab8500_registers_print
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_debug_ranges@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rsi, %r15
	shlq	$4, %r15
	cmpl	$0, (%rax,%r15)
	je	LBB0_11
## %bb.1:
	movq	%rsi, %r12
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	incq	%r14
	movl	(%rax,%r15), %ecx
	cmpq	%rcx, %r14
	jae	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	8(%rax,%r15), %rcx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	shlq	$4, %r14
	movq	(%rcx,%r14), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %r12
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_dev_info
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	incq	%r13
	movq	_debug_ranges@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax,%r15), %rcx
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	8(%rcx,%r14), %r13
	ja	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rbx
	movl	%r12d, %esi
	movl	%r13d, %edx
	leaq	-52(%rbp), %rcx
	callq	_abx500_get_register_interruptible
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	-52(%rbp), %r8d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %r12
	movq	%rdi, %rbx
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_seq_printf
	movq	%rbx, %rdi
	callq	_seq_has_overflowed
	testq	%rax, %rax
	je	LBB0_9
LBB0_11:
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_5:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_dev_err
LBB0_12:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug_ranges,8,3               ## @debug_ranges
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ab->read fail %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"  [0x%02X/0x%02X]: 0x%02X\n"

L_.str.2:                               ## @.str.2
	.asciz	" [0x%02X/0x%02X]: 0x%02X\n"

	.no_dead_strip	_ab8500_registers_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ab8500_registers_print
_ab8500_registers_print:                ; @ab8500_registers_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x26, _debug_ranges@GOTPAGE
Lloh1:
	ldr	x26, [x26, _debug_ranges@GOTPAGEOFF]
	ldr	x8, [x26]
	lsl	x27, x1, #4
	ldr	w9, [x8, x27]
	cbz	w9, LBB0_10
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x28, #0
Lloh2:
	adrp	x22, l_.str.2@PAGE
Lloh3:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh4:
	adrp	x23, l_.str.1@PAGE
Lloh5:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x28, #1
	ldr	w9, [x8, x27]
	cmp	x28, x9
	b.hs	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	x9, x8, x21, lsl #4
	ldr	x9, [x9, #8]
	add	x9, x9, x28, lsl #4
	ldr	x24, [x9]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x24
	bl	_dev_info
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x24, x24, #1
	ldr	x8, [x26]
	add	x9, x8, x21, lsl #4
	ldr	x9, [x9, #8]
	add	x9, x9, x28, lsl #4
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x9, #8]
	cmp	x24, x9
	b.hi	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	bl	_abx500_get_register_interruptible
	tbnz	w0, #31, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w4, [sp, #12]
	cbz	x20, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x3, x24
	bl	_seq_printf
	mov	x0, x20
	bl	_seq_has_overflowed
	cbz	x0, LBB0_5
LBB0_10:
	mov	w25, #0
	b	LBB0_12
LBB0_11:
	mov	x25, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x25
	bl	_dev_err
LBB0_12:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_debug_ranges,8,3               ; @debug_ranges
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ab->read fail %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"  [0x%02X/0x%02X]: 0x%02X\n"

l_.str.2:                               ; @.str.2
	.asciz	" [0x%02X/0x%02X]: 0x%02X\n"

	.no_dead_strip	_ab8500_registers_print
.subsections_via_symbols
