	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nforce2_access
_nforce2_access:                        ## @nforce2_access
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movl	%ecx, %r12d
	movl	%esi, %r13d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rax
	cmpb	%r12b, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_NVIDIA_SMB_PRTCL_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_NVIDIA_SMB_PRTCL_WRITE@GOTPCREL(%rip), %rax
LBB0_3:
	movq	_I2C_CLIENT_PEC@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testw	%dx, (%rcx)
	movq	_NVIDIA_SMB_PRTCL_PEC@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %r14d
	cmovel	%ebx, %r14d
	leal	-128(%r9), %ecx
	cmpl	$4, %ecx
	ja	LBB0_8
## %bb.4:
	movq	16(%rbp), %r15
	movb	(%rax), %bl
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	jmpq	*%rcx
LBB0_5:
	movq	_NVIDIA_SMB_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r8b, %edi
	callq	_outb_p
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	cmpb	%r12b, (%rax)
	jne	LBB0_7
## %bb.6:
	movzbl	(%r15), %edi
	movq	_NVIDIA_SMB_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb_p
	movq	_NVIDIA_SMB_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%esi
	xorl	%edi, %edi
	callq	_outb_p
LBB0_7:
	movq	_NVIDIA_SMB_PRTCL_WORD_DATA@GOTPCREL(%rip), %rax
	orb	(%rax), %r14b
	jmp	LBB0_23
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r9d, %edx
	callq	_dev_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_9:
	movq	_NVIDIA_SMB_PRTCL_QUICK@GOTPCREL(%rip), %rax
	movb	(%rax), %r14b
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	movb	(%rax), %r12b
	jmp	LBB0_23
LBB0_10:
	movq	_NVIDIA_SMB_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r8b, %edi
	callq	_outb_p
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	cmpb	%r12b, (%rax)
	jne	LBB0_12
## %bb.11:
	movzbl	(%r15), %edi
	movq	_NVIDIA_SMB_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb_p
LBB0_12:
	movq	_NVIDIA_SMB_PRTCL_BYTE_DATA@GOTPCREL(%rip), %rax
	movb	(%rax), %r14b
	jmp	LBB0_23
LBB0_13:
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	cmpb	%r12b, (%rax)
	jne	LBB0_15
## %bb.14:
	movq	_NVIDIA_SMB_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r8b, %edi
	callq	_outb_p
LBB0_15:
	movq	_NVIDIA_SMB_PRTCL_BYTE@GOTPCREL(%rip), %rax
	movb	(%rax), %r14b
	jmp	LBB0_23
LBB0_16:
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	movq	_NVIDIA_SMB_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r8b, %edi
	callq	_outb_p
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	cmpb	%r12b, (%rax)
	jne	LBB0_22
## %bb.17:
	movq	(%r15), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_34
## %bb.18:
	movq	_I2C_SMBUS_BLOCK_MAX@GOTPCREL(%rip), %r12
	cmpl	(%r12), %edx
	jg	LBB0_34
## %bb.19:
	movq	_NVIDIA_SMB_BCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%dl, %edi
	callq	_outb_p
	cmpl	$0, (%r12)
	jle	LBB0_22
## %bb.20:
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	%r15, %rbx
	leaq	1(%rsi), %r15
	movzbl	4(%rax,%rsi,4), %edi
	movq	_NVIDIA_SMB_DATA@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_outb_p
	movslq	(%r12), %rax
	movq	%r15, %rsi
	cmpq	%rax, %r15
	movq	%rbx, %r15
	jl	LBB0_21
LBB0_22:
	movq	_NVIDIA_SMB_PRTCL_BLOCK_DATA@GOTPCREL(%rip), %rax
	orb	(%rax), %r14b
	movb	-41(%rbp), %bl                  ## 1-byte Reload
	movl	-60(%rbp), %r12d                ## 4-byte Reload
LBB0_23:
	orb	%bl, %r14b
	addb	%r13b, %r13b
	movq	_NVIDIA_SMB_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r13b, %edi
	callq	_outb_p
	movq	_NVIDIA_SMB_PRTCL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r14b, %edi
	callq	_outb_p
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_nforce2_check_status
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_39
## %bb.24:
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpb	(%rax), %r12b
	je	LBB0_39
## %bb.25:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leal	-130(%rcx), %eax
	cmpl	$2, %eax
	jb	LBB0_33
## %bb.26:
	cmpl	$128, %ecx
	je	LBB0_35
## %bb.27:
	cmpl	$132, %ecx
	jne	LBB0_39
## %bb.28:
	movq	_NVIDIA_SMB_BCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_36
## %bb.29:
	movq	_I2C_SMBUS_BLOCK_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_36
## %bb.30:
	xorl	%ebx, %ebx
	movq	%r15, %r12
	movq	_NVIDIA_SMB_DATA@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	addl	%ebx, %edi
	callq	_inb_p
	movq	(%r12), %rcx
	movl	%eax, 4(%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_31
## %bb.32:
	movq	(%r12), %rax
	movl	%r14d, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_39
LBB0_33:
	movq	_NVIDIA_SMB_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movb	%al, (%r15)
	jmp	LBB0_39
LBB0_34:
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_35:
	movq	%r15, %r12
	movq	_NVIDIA_SMB_DATA@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_inb_p
	movl	%eax, %r14d
	movl	(%r15), %edi
	incl	%edi
	callq	_inb_p
	movb	%r14b, (%r12)
	jmp	LBB0_39
LBB0_36:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_dev_err
	movq	_EPROTO@GOTPCREL(%rip), %rax
LBB0_37:
	xorl	%ebx, %ebx
LBB0_38:
	subl	(%rax), %ebx
LBB0_39:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_I2C_SMBUS_READ,1,0             ## @I2C_SMBUS_READ
	.comm	_NVIDIA_SMB_PRTCL_READ,1,0      ## @NVIDIA_SMB_PRTCL_READ
	.comm	_NVIDIA_SMB_PRTCL_WRITE,1,0     ## @NVIDIA_SMB_PRTCL_WRITE
	.comm	_I2C_CLIENT_PEC,2,1             ## @I2C_CLIENT_PEC
	.comm	_NVIDIA_SMB_PRTCL_PEC,1,0       ## @NVIDIA_SMB_PRTCL_PEC
	.comm	_NVIDIA_SMB_PRTCL_QUICK,1,0     ## @NVIDIA_SMB_PRTCL_QUICK
	.comm	_I2C_SMBUS_WRITE,1,0            ## @I2C_SMBUS_WRITE
	.comm	_NVIDIA_SMB_CMD,4,2             ## @NVIDIA_SMB_CMD
	.comm	_NVIDIA_SMB_PRTCL_BYTE,1,0      ## @NVIDIA_SMB_PRTCL_BYTE
	.comm	_NVIDIA_SMB_DATA,4,2            ## @NVIDIA_SMB_DATA
	.comm	_NVIDIA_SMB_PRTCL_BYTE_DATA,1,0 ## @NVIDIA_SMB_PRTCL_BYTE_DATA
	.comm	_NVIDIA_SMB_PRTCL_WORD_DATA,1,0 ## @NVIDIA_SMB_PRTCL_WORD_DATA
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ## @I2C_SMBUS_BLOCK_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Transaction failed (requested block size: %d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NVIDIA_SMB_BCNT,4,2            ## @NVIDIA_SMB_BCNT
	.comm	_NVIDIA_SMB_PRTCL_BLOCK_DATA,1,0 ## @NVIDIA_SMB_PRTCL_BLOCK_DATA
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported transaction %d\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NVIDIA_SMB_ADDR,4,2            ## @NVIDIA_SMB_ADDR
	.comm	_NVIDIA_SMB_PRTCL,4,2           ## @NVIDIA_SMB_PRTCL
L_.str.2:                               ## @.str.2
	.asciz	"Transaction failed (received block size: 0x%02x)\n"

	.comm	_EPROTO,4,2                     ## @EPROTO
	.no_dead_strip	_nforce2_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nforce2_access
_nforce2_access:                        ; @nforce2_access
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x5
	mov	x20, x0
Lloh0:
	adrp	x8, _I2C_SMBUS_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_SMBUS_READ@GOTPAGEOFF]
	and	w23, w3, #0xff
	ldrb	w8, [x8]
Lloh2:
	adrp	x9, _NVIDIA_SMB_PRTCL_READ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NVIDIA_SMB_PRTCL_READ@GOTPAGEOFF]
Lloh4:
	adrp	x10, _NVIDIA_SMB_PRTCL_WRITE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _NVIDIA_SMB_PRTCL_WRITE@GOTPAGEOFF]
	cmp	w8, w23
	csel	x8, x9, x10, eq
Lloh6:
	adrp	x9, _I2C_CLIENT_PEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I2C_CLIENT_PEC@GOTPAGEOFF]
Lloh8:
	adrp	x10, _NVIDIA_SMB_PRTCL_PEC@GOTPAGE
Lloh9:
	ldr	x10, [x10, _NVIDIA_SMB_PRTCL_PEC@GOTPAGEOFF]
	ldrh	w9, [x9]
	ldrb	w10, [x10]
	tst	w9, w2
	csel	w25, wzr, w10, eq
	sub	w9, w5, #128
	cmp	w9, #4
	b.hi	LBB0_5
; %bb.1:
	mov	x19, x6
	mov	x22, x1
	ldrb	w24, [x8]
Lloh10:
	adrp	x8, lJTI0_0@PAGE
Lloh11:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh12:
	adrp	x8, _NVIDIA_SMB_CMD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NVIDIA_SMB_CMD@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	and	w0, w4, #0xff
	bl	_outb_p
Lloh15:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_4
; %bb.3:
	ldrb	w0, [x19]
Lloh17:
	adrp	x26, _NVIDIA_SMB_DATA@GOTPAGE
Lloh18:
	ldr	x26, [x26, _NVIDIA_SMB_DATA@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_outb_p
	ldr	w8, [x26]
	add	w1, w8, #1
	mov	w0, #0
	bl	_outb_p
LBB0_4:
Lloh19:
	adrp	x8, _NVIDIA_SMB_PRTCL_WORD_DATA@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NVIDIA_SMB_PRTCL_WORD_DATA@GOTPAGEOFF]
	b	LBB0_20
LBB0_5:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_err
Lloh23:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_36
LBB0_6:
Lloh25:
	adrp	x8, _NVIDIA_SMB_PRTCL_QUICK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NVIDIA_SMB_PRTCL_QUICK@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh27:
	adrp	x9, _I2C_SMBUS_WRITE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w23, [x9]
	b	LBB0_21
LBB0_7:
Lloh29:
	adrp	x8, _NVIDIA_SMB_CMD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NVIDIA_SMB_CMD@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	and	w0, w4, #0xff
	bl	_outb_p
Lloh32:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_9
; %bb.8:
	ldrb	w0, [x19]
Lloh34:
	adrp	x8, _NVIDIA_SMB_DATA@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NVIDIA_SMB_DATA@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_outb_p
LBB0_9:
Lloh37:
	adrp	x8, _NVIDIA_SMB_PRTCL_BYTE_DATA@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NVIDIA_SMB_PRTCL_BYTE_DATA@GOTPAGEOFF]
	ldrb	w8, [x8]
	b	LBB0_21
LBB0_10:
Lloh39:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_12
; %bb.11:
Lloh41:
	adrp	x8, _NVIDIA_SMB_CMD@GOTPAGE
Lloh42:
	ldr	x8, [x8, _NVIDIA_SMB_CMD@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	and	w0, w4, #0xff
	bl	_outb_p
LBB0_12:
Lloh44:
	adrp	x8, _NVIDIA_SMB_PRTCL_BYTE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _NVIDIA_SMB_PRTCL_BYTE@GOTPAGEOFF]
	ldrb	w8, [x8]
	b	LBB0_21
LBB0_13:
Lloh46:
	adrp	x8, _NVIDIA_SMB_CMD@GOTPAGE
Lloh47:
	ldr	x8, [x8, _NVIDIA_SMB_CMD@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	and	w0, w4, #0xff
	bl	_outb_p
Lloh49:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_19
; %bb.14:
	ldr	x8, [x19]
	ldr	w2, [x8]
	cbz	w2, LBB0_33
; %bb.15:
Lloh51:
	adrp	x26, _I2C_SMBUS_BLOCK_MAX@GOTPAGE
Lloh52:
	ldr	x26, [x26, _I2C_SMBUS_BLOCK_MAX@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w2, w8
	b.gt	LBB0_33
; %bb.16:
Lloh53:
	adrp	x8, _NVIDIA_SMB_BCNT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _NVIDIA_SMB_BCNT@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	and	w0, w2, #0xff
	bl	_outb_p
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.17:
	mov	x8, #0
Lloh56:
	adrp	x27, _NVIDIA_SMB_DATA@GOTPAGE
Lloh57:
	ldr	x27, [x27, _NVIDIA_SMB_DATA@GOTPAGEOFF]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	add	x28, x8, #1
	add	x9, x9, x8, lsl #2
	ldrb	w0, [x9, #4]
	ldr	w9, [x27]
	add	w1, w8, w9
	bl	_outb_p
	ldrsw	x9, [x26]
	mov	x8, x28
	cmp	x28, x9
	b.lt	LBB0_18
LBB0_19:
Lloh58:
	adrp	x8, _NVIDIA_SMB_PRTCL_BLOCK_DATA@GOTPAGE
Lloh59:
	ldr	x8, [x8, _NVIDIA_SMB_PRTCL_BLOCK_DATA@GOTPAGEOFF]
LBB0_20:
	ldrb	w8, [x8]
	orr	w8, w8, w25
LBB0_21:
	orr	w24, w8, w24
Lloh60:
	adrp	x8, _NVIDIA_SMB_ADDR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _NVIDIA_SMB_ADDR@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	ubfiz	w0, w22, #1, #7
	bl	_outb_p
Lloh63:
	adrp	x8, _NVIDIA_SMB_PRTCL@GOTPAGE
Lloh64:
	ldr	x8, [x8, _NVIDIA_SMB_PRTCL@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	and	w0, w24, #0xff
	bl	_outb_p
	mov	x0, x20
	bl	_nforce2_check_status
	cbnz	w0, LBB0_37
; %bb.22:
Lloh66:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_24
LBB0_23:
	mov	w0, #0
	b	LBB0_37
LBB0_24:
	sub	w8, w21, #130
	cmp	w8, #2
	b.lo	LBB0_32
; %bb.25:
	cmp	w21, #128
	b.eq	LBB0_34
; %bb.26:
	cmp	w21, #132
	b.ne	LBB0_23
; %bb.27:
Lloh68:
	adrp	x8, _NVIDIA_SMB_BCNT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _NVIDIA_SMB_BCNT@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	bl	_inb_p
	mov	w21, w0
	cmp	w0, #1
	b.lt	LBB0_35
; %bb.28:
Lloh71:
	adrp	x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGE
Lloh72:
	ldr	x8, [x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	cmp	w0, w8
	b.gt	LBB0_35
; %bb.29:
	mov	x22, #0
Lloh74:
	adrp	x20, _NVIDIA_SMB_DATA@GOTPAGE
Lloh75:
	ldr	x20, [x20, _NVIDIA_SMB_DATA@GOTPAGEOFF]
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	add	w0, w22, w8
	bl	_inb_p
	ldr	x8, [x19]
	add	x8, x8, x22, lsl #2
	add	x9, x22, #1
	str	w0, [x8, #4]
	mov	x22, x9
	cmp	x21, x9
	b.ne	LBB0_30
; %bb.31:
	mov	w0, #0
	ldr	x8, [x19]
	str	w21, [x8]
	b	LBB0_37
LBB0_32:
Lloh76:
	adrp	x8, _NVIDIA_SMB_DATA@GOTPAGE
Lloh77:
	ldr	x8, [x8, _NVIDIA_SMB_DATA@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
	bl	_inb_p
	mov	x8, x0
	mov	w0, #0
	strb	w8, [x19]
	b	LBB0_37
LBB0_33:
Lloh79:
	adrp	x1, l_.str@PAGE
Lloh80:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh81:
	adrp	x8, _EINVAL@GOTPAGE
Lloh82:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_36
LBB0_34:
Lloh83:
	adrp	x21, _NVIDIA_SMB_DATA@GOTPAGE
Lloh84:
	ldr	x21, [x21, _NVIDIA_SMB_DATA@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_inb_p
	mov	x20, x0
	ldr	w8, [x21]
	add	w0, w8, #1
	bl	_inb_p
	mov	w0, #0
	strb	w20, [x19]
	b	LBB0_37
LBB0_35:
Lloh85:
	adrp	x1, l_.str.2@PAGE
Lloh86:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_err
Lloh87:
	adrp	x8, _EPROTO@GOTPAGE
Lloh88:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
LBB0_36:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_37:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_I2C_SMBUS_READ,1,0             ; @I2C_SMBUS_READ
	.comm	_NVIDIA_SMB_PRTCL_READ,1,0      ; @NVIDIA_SMB_PRTCL_READ
	.comm	_NVIDIA_SMB_PRTCL_WRITE,1,0     ; @NVIDIA_SMB_PRTCL_WRITE
	.comm	_I2C_CLIENT_PEC,2,1             ; @I2C_CLIENT_PEC
	.comm	_NVIDIA_SMB_PRTCL_PEC,1,0       ; @NVIDIA_SMB_PRTCL_PEC
	.comm	_NVIDIA_SMB_PRTCL_QUICK,1,0     ; @NVIDIA_SMB_PRTCL_QUICK
	.comm	_I2C_SMBUS_WRITE,1,0            ; @I2C_SMBUS_WRITE
	.comm	_NVIDIA_SMB_CMD,4,2             ; @NVIDIA_SMB_CMD
	.comm	_NVIDIA_SMB_PRTCL_BYTE,1,0      ; @NVIDIA_SMB_PRTCL_BYTE
	.comm	_NVIDIA_SMB_DATA,4,2            ; @NVIDIA_SMB_DATA
	.comm	_NVIDIA_SMB_PRTCL_BYTE_DATA,1,0 ; @NVIDIA_SMB_PRTCL_BYTE_DATA
	.comm	_NVIDIA_SMB_PRTCL_WORD_DATA,1,0 ; @NVIDIA_SMB_PRTCL_WORD_DATA
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ; @I2C_SMBUS_BLOCK_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Transaction failed (requested block size: %d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NVIDIA_SMB_BCNT,4,2            ; @NVIDIA_SMB_BCNT
	.comm	_NVIDIA_SMB_PRTCL_BLOCK_DATA,1,0 ; @NVIDIA_SMB_PRTCL_BLOCK_DATA
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported transaction %d\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NVIDIA_SMB_ADDR,4,2            ; @NVIDIA_SMB_ADDR
	.comm	_NVIDIA_SMB_PRTCL,4,2           ; @NVIDIA_SMB_PRTCL
l_.str.2:                               ; @.str.2
	.asciz	"Transaction failed (received block size: 0x%02x)\n"

	.comm	_EPROTO,4,2                     ; @EPROTO
	.no_dead_strip	_nforce2_access
.subsections_via_symbols
