	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function po1030_dump_registers
_po1030_dump_registers:                 ## @po1030_dump_registers
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	$0, -44(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	leaq	-44(%rbp), %r14
	leaq	L_.str.1(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_m5602_read_sensor
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_info
	incl	%ebx
	cmpl	$127, %ebx
	jne	LBB0_1
## %bb.2:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	leaq	-60(%rbp), %r14
	leaq	L_.str.4(%rip), %r15
	leaq	L_.str.5(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movabsq	$1095216660735, %rax            ## imm = 0xFF000000FF
	movq	%rax, -56(%rbp)
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_m5602_read_sensor
	movq	%r13, %rdi
	movl	%ebx, %esi
	leaq	-56(%rbp), %rdx
	movl	$1, %ecx
	callq	_m5602_write_sensor
	movq	%r13, %rdi
	movl	%ebx, %esi
	leaq	-48(%rbp), %rdx
	movl	$1, %ecx
	callq	_m5602_read_sensor
	movl	-48(%rbp), %eax
	cmpl	-56(%rbp), %eax
	movq	%r12, %rdi
	cmoveq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_info
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_m5602_write_sensor
	incl	%ebx
	cmpl	$255, %ebx
	jne	LBB0_3
## %bb.4:
	addq	$24, %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	"Dumping the po1030 sensor core registers\n"

L_.str.1:                               ## @.str.1
	.asciz	"register 0x%x contains 0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"po1030 register state dump complete\n"

L_.str.3:                               ## @.str.3
	.asciz	"Probing for which registers that are read/write\n"

L_.str.4:                               ## @.str.4
	.asciz	"register 0x%x is writeable\n"

L_.str.5:                               ## @.str.5
	.asciz	"register 0x%x is read only\n"

	.no_dead_strip	_po1030_dump_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function po1030_dump_registers
_po1030_dump_registers:                 ; @po1030_dump_registers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x0
	str	wzr, [sp, #44]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	w20, #0
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #44
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_m5602_read_sensor
	ldr	w8, [sp, #44]
	stp	x20, x8, [sp]
	mov	x0, x21
	bl	_pr_info
	add	w20, w20, #1
	cmp	w20, #127
	b.ne	LBB0_1
; %bb.2:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_info
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_info
	mov	w20, #0
	mov	x21, #1095216660735
Lloh8:
	adrp	x22, l_.str.5@PAGE
Lloh9:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh10:
	adrp	x23, l_.str.4@PAGE
Lloh11:
	add	x23, x23, l_.str.4@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x21, [sp, #24]
	add	x2, sp, #40
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_m5602_read_sensor
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_m5602_write_sensor
	add	x2, sp, #36
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_m5602_read_sensor
	ldr	w8, [sp, #36]
	ldr	w9, [sp, #24]
	cmp	w8, w9
	csel	x0, x23, x22, eq
	str	x20, [sp]
	bl	_pr_info
	add	x2, sp, #40
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_m5602_write_sensor
	add	w20, w20, #1
	cmp	w20, #255
	b.ne	LBB0_3
; %bb.4:
	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
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dumping the po1030 sensor core registers\n"

l_.str.1:                               ; @.str.1
	.asciz	"register 0x%x contains 0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"po1030 register state dump complete\n"

l_.str.3:                               ; @.str.3
	.asciz	"Probing for which registers that are read/write\n"

l_.str.4:                               ; @.str.4
	.asciz	"register 0x%x is writeable\n"

l_.str.5:                               ; @.str.5
	.asciz	"register 0x%x is read only\n"

	.no_dead_strip	_po1030_dump_registers
.subsections_via_symbols
