	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ab8500_dump_all_banks          ## -- Begin function ab8500_dump_all_banks
	.p2align	4, 0x90
_ab8500_dump_all_banks:                 ## @ab8500_dump_all_banks
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_AB8500_NUM_BANKS@GOTPCREL(%rip), %r12
	cmpl	$2, (%r12)
	jb	LBB0_3
## %bb.1:
	movl	$1, %ebx
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_info
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_ab8500_registers_print
	incl	%ebx
	cmpl	(%r12), %ebx
	jb	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ab8500 register values:\n"

	.comm	_AB8500_NUM_BANKS,4,2           ## @AB8500_NUM_BANKS
L_.str.1:                               ## @.str.1
	.asciz	" bank 0x%02X:\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ab8500_dump_all_banks          ; -- Begin function ab8500_dump_all_banks
	.p2align	2
_ab8500_dump_all_banks:                 ; @ab8500_dump_all_banks
	.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, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
Lloh2:
	adrp	x22, _AB8500_NUM_BANKS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _AB8500_NUM_BANKS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #2
	b.lo	LBB0_3
; %bb.1:
	mov	w20, #1
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x20, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_dev_info
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_ab8500_registers_print
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lo	LBB0_2
LBB0_3:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ab8500 register values:\n"

	.comm	_AB8500_NUM_BANKS,4,2           ; @AB8500_NUM_BANKS
l_.str.1:                               ; @.str.1
	.asciz	" bank 0x%02X:\n"

.subsections_via_symbols
