	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sil164_readb
_sil164_readb:                          ## @sil164_readb
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r12
	movq	16(%rdi), %r13
	movl	$1, -112(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -104(%rbp)
	movl	$0, -96(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -92(%rbp)
	movl	$1, -88(%rbp)
	leaq	-64(%rbp), %rcx
	movq	%rcx, -80(%rbp)
	movq	_I2C_M_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -72(%rbp)
	movl	%eax, -68(%rbp)
	movl	%esi, -56(%rbp)
	movl	$0, -52(%rbp)
	leaq	-112(%rbp), %rsi
	movq	%r12, %rdi
	movl	$2, %edx
	callq	_i2c_transfer
	cmpl	$2, %eax
	jne	LBB0_2
## %bb.1:
	movl	-64(%rbp), %eax
	movl	%eax, (%r15)
	movl	$1, %r15d
	jmp	LBB0_4
LBB0_2:
	xorl	%r15d, %r15d
	cmpl	$0, (%r13)
	jne	LBB0_4
## %bb.3:
	movl	(%r12), %edx
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_DRM_DEBUG_KMS
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to read register 0x%02x from %s:%02x.\n"

	.no_dead_strip	_sil164_readb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sil164_readb
_sil164_readb:                          ; @sil164_readb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldp	x22, x23, [x0, #8]
	mov	w8, #1
	str	w8, [sp, #8]
	add	x9, sp, #64
	str	x9, [sp, #16]
	ldr	w9, [x0]
	str	w8, [sp, #32]
	add	x8, sp, #56
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _I2C_M_RD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_M_RD@GOTPAGEOFF]
	stp	wzr, w9, [sp, #24]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w9, [sp, #48]
	stp	w1, wzr, [sp, #64]
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #2
	bl	_i2c_transfer
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [sp, #56]
	str	w8, [x21]
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	ldr	w8, [x23]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	w2, [x22]
	ldr	w3, [x20]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_DRM_DEBUG_KMS
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to read register 0x%02x from %s:%02x.\n"

	.no_dead_strip	_sil164_readb
.subsections_via_symbols
