	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stb6100_read_regs
_stb6100_read_regs:                     ## @stb6100_read_regs
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, -64(%rbp)
	movq	_STB6100_NUMREGS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -56(%rbp)
	movq	_I2C_M_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	8(%rdi), %edi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	movl	%eax, %r13d
	xorl	%edi, %edi
	cmpl	$1, %eax
	setne	%dil
	callq	_unlikely
	movq	_verbose@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_FE_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r14), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rcx
	xorl	%ebx, %ebx
	movl	$1, %edx
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_dprintk
	movq	_EREMOTEIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_2:
	movq	_FE_DEBUG@GOTPCREL(%rip), %r13
	xorl	%eax, %eax
	cmpq	(%r13), %rdi
	setg	%al
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%rbx), %rdi
	movq	(%r13), %rsi
	movq	(%r14), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %r14
	xorl	%ebx, %ebx
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_dprintk
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.4:
	leaq	L_.str.2(%rip), %r12
	movq	%r13, %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	(%rbx), %rsi
	movq	_stb6100_regnames@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %r8d
	movl	(%r15,%r13,4), %r9d
	movl	$1, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_dprintk
	incq	%r13
	movq	_STB6100_NUMREGS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jl	LBB0_5
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STB6100_NUMREGS,4,2            ## @STB6100_NUMREGS
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_verbose,8,3                    ## @verbose
	.comm	_FE_ERROR,8,3                   ## @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read (0x%x) err, rc=[%d]"

	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.comm	_FE_DEBUG,8,3                   ## @FE_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"    Read from 0x%02x"

L_.str.2:                               ## @.str.2
	.asciz	"        %s: 0x%02x"

	.comm	_stb6100_regnames,8,3           ## @stb6100_regnames
	.no_dead_strip	_stb6100_read_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stb6100_read_regs
_stb6100_read_regs:                     ; @stb6100_read_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x1
	mov	x20, x0
	str	x1, [sp, #8]
Lloh0:
	adrp	x22, _STB6100_NUMREGS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _STB6100_NUMREGS@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _I2C_M_RD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _I2C_M_RD@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	ldr	x8, [x0]
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	w0, [x0, #8]
	add	x1, sp, #8
	mov	w2, #1
	bl	_i2c_transfer
	mov	x21, x0
	cmp	w0, #1
	cset	w0, ne
	bl	_unlikely
	mov	x8, x0
Lloh5:
	adrp	x23, _verbose@GOTPAGE
Lloh6:
	ldr	x23, [x23, _verbose@GOTPAGEOFF]
	ldr	x0, [x23]
	cbz	x8, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _FE_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FE_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	x1, [x8]
	ldr	x8, [x20]
	ldr	w4, [x8]
Lloh10:
	adrp	x3, l_.str@PAGE
Lloh11:
	add	x3, x3, l_.str@PAGEOFF
	str	x21, [sp]
	mov	w2, #1
	bl	_dprintk
Lloh12:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
Lloh15:
	adrp	x21, _FE_DEBUG@GOTPAGE
Lloh16:
	ldr	x21, [x21, _FE_DEBUG@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x0, [x23]
	ldr	x1, [x21]
	ldr	x8, [x20]
	ldr	w4, [x8]
Lloh17:
	adrp	x3, l_.str.1@PAGE
Lloh18:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x24, #0
Lloh19:
	adrp	x25, _stb6100_regnames@GOTPAGE
Lloh20:
	ldr	x25, [x25, _stb6100_regnames@GOTPAGEOFF]
Lloh21:
	adrp	x20, l_.str.2@PAGE
Lloh22:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	ldr	x1, [x21]
	ldr	x8, [x25]
	lsl	x9, x24, #2
	ldr	w4, [x8, x9]
	ldr	w8, [x19, x9]
	str	x8, [sp]
	mov	w2, #1
	mov	x3, x20
	bl	_dprintk
	add	x24, x24, #1
	ldrsw	x8, [x22]
	cmp	x24, x8
	b.lt	LBB0_5
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_STB6100_NUMREGS,4,2            ; @STB6100_NUMREGS
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_verbose,8,3                    ; @verbose
	.comm	_FE_ERROR,8,3                   ; @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read (0x%x) err, rc=[%d]"

	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.comm	_FE_DEBUG,8,3                   ; @FE_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"    Read from 0x%02x"

l_.str.2:                               ; @.str.2
	.asciz	"        %s: 0x%02x"

	.comm	_stb6100_regnames,8,3           ; @stb6100_regnames
	.no_dead_strip	_stb6100_read_regs
.subsections_via_symbols
