	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_i2c_long_if
_init_i2c_long_if:                      ## @init_i2c_long_if
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rsi
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	incq	%rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
	movl	%eax, %r13d
	movq	(%rbx), %rsi
	addq	$2, %rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
	movl	%eax, %r14d
	sarl	%r14d
	movq	(%rbx), %rsi
	addq	$3, %rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
	movl	%eax, %r12d
	movq	(%rbx), %rsi
	addq	$5, %rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
	movq	(%rbx), %rsi
	addq	$6, %rsi
	movq	%r15, %rdi
	movl	%eax, %r15d
	callq	_nvbios_rd08
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	movl	%r12d, -128(%rbp)               ## 4-byte Spill
	movl	%r12d, %r8d
	movl	%r15d, %r12d
	movl	%r15d, %r9d
	callq	_trace
	addq	$7, (%rbx)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_init_i2c
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	-128(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, -56(%rbp)
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, -52(%rbp)
	movl	$0, -120(%rbp)
	movl	%r14d, -112(%rbp)
	movl	$2, -108(%rbp)
	leaq	-56(%rbp), %rcx
	movq	%rcx, -104(%rbp)
	movl	$0, -96(%rbp)
	movl	%r14d, -88(%rbp)
	movl	$1, -84(%rbp)
	leaq	-120(%rbp), %rcx
	movq	%rcx, -80(%rbp)
	movq	_I2C_M_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -72(%rbp)
	leaq	-112(%rbp), %rsi
	movq	%rax, %rdi
	movl	$2, %edx
	callq	_i2c_transfer
	cmpl	$2, %eax
	jne	LBB0_3
## %bb.2:
	andl	-120(%rbp), %r12d
	cmpl	-124(%rbp), %r12d               ## 4-byte Folded Reload
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_init_exec_set
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I2C_LONG_IF\tI2C[0x%02x][0x%02x][0x%02x%02x] & 0x%02x == 0x%02x\n"

	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.no_dead_strip	_init_i2c_long_if
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_i2c_long_if
_init_i2c_long_if:                      ; @init_i2c_long_if
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x22, [x8]
	add	x1, x9, #1
	mov	x0, x22
	bl	_nvbios_rd08
	mov	x25, x0
	ldr	x8, [x19]
	add	x1, x8, #2
	mov	x0, x22
	bl	_nvbios_rd08
	asr	w20, w0, #1
	ldr	x8, [x19]
	add	x1, x8, #3
	mov	x0, x22
	bl	_nvbios_rd08
	mov	x23, x0
	ldr	x8, [x19]
	add	x1, x8, #4
	mov	x0, x22
	bl	_nvbios_rd08
	mov	x24, x0
	ldr	x8, [x19]
	add	x1, x8, #5
	mov	x0, x22
	bl	_nvbios_rd08
	mov	x21, x0
	ldr	x8, [x19]
	add	x1, x8, #6
	mov	x0, x22
	bl	_nvbios_rd08
	mov	x22, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x25
	mov	x2, x20
	mov	x3, x23
	mov	x4, x24
	mov	x5, x21
	mov	x6, x22
	bl	_trace
	ldr	x8, [x19]
	add	x8, x8, #7
	str	x8, [x19]
	mov	x0, x19
	mov	x1, x25
	bl	_init_i2c
	cbz	x0, LBB0_3
; %bb.1:
	stp	w24, w23, [sp, #64]
	stp	wzr, w20, [sp, #12]
	mov	w8, #2
	str	w8, [sp, #20]
	add	x8, sp, #64
	str	x8, [sp, #24]
	str	wzr, [sp, #32]
	mov	w8, #1
	stp	w20, w8, [sp, #40]
	add	x8, sp, #12
	str	x8, [sp, #48]
Lloh5:
	adrp	x8, _I2C_M_RD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I2C_M_RD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	add	x1, sp, #16
	mov	w2, #2
	bl	_i2c_transfer
	cmp	w0, #2
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [sp, #12]
	and	w8, w8, w21
	cmp	w8, w22
	b.eq	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	bl	_init_exec_set
LBB0_4:
	ldr	x8, [sp, #72]
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_6
; %bb.5:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I2C_LONG_IF\tI2C[0x%02x][0x%02x][0x%02x%02x] & 0x%02x == 0x%02x\n"

	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.no_dead_strip	_init_i2c_long_if
.subsections_via_symbols
