	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dcb_i2c_parse
LCPI0_0:
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
LCPI0_1:
	.long	129                             ## 0x81
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dcb_i2c_parse
	.p2align	4, 0x90
_dcb_i2c_parse:                         ## @dcb_i2c_parse
	.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	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	-44(%rbp), %rdx
	leaq	-60(%rbp), %rcx
	callq	_dcb_i2c_entry
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%eax, %r13d
	movl	-44(%rbp), %ebx
	cmpl	$65, %ebx
	jl	LBB0_11
## %bb.2:
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_nvbios_rd32
	notl	%eax
	testl	$1023, %eax                     ## imm = 0x3FF
	jne	LBB0_14
## %bb.3:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [128,128,128,128]
	movups	%xmm0, (%r12)
	movl	$128, 16(%r12)
	jmp	LBB0_22
LBB0_4:
	cmpl	$1, %ebx
	jg	LBB0_13
## %bb.5:
	movl	(%r14), %esi
	testl	%esi, %esi
	je	LBB0_13
## %bb.6:
	addl	$5, %esi
	movq	%r14, %rdi
	callq	_nvbios_rd08
	movl	$72, %r15d
	cmpl	$4, %eax
	jl	LBB0_8
## %bb.7:
	movl	(%r14), %r15d
	addl	$54, %r15d
LBB0_8:
	cmpl	$1, %ebx
	je	LBB0_19
## %bb.9:
	testl	%ebx, %ebx
	jne	LBB0_21
## %bb.10:
	leal	4(%r15), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd08
	testl	%eax, %eax
	movl	$63, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, 4(%r12)
	addl	$5, %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_nvbios_rd08
	testl	%eax, %eax
	movl	$62, %ecx
	jmp	LBB0_20
LBB0_11:
	leal	3(%r13), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd08
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$48, %ebx
	jl	LBB0_15
## %bb.12:
	movl	%eax, (%r12)
	jmp	LBB0_16
LBB0_13:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_23
LBB0_14:
	leaq	4(%r12), %rsi
	leaq	12(%r12), %rbx
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [129,128,128,128]
	movups	%xmm0, (%r12)
	movl	$128, 16(%r12)
	addq	$16, %r12
	movq	%r12, %rdx
	jmp	LBB0_18
LBB0_15:
	andl	$7, %eax
	cmpl	$7, %eax
	movl	$128, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, (%r12)
	movl	%ecx, %eax
LBB0_16:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [128,128,128,128]
	movups	%xmm0, 4(%r12)
	xorl	%r15d, %r15d
	leal	-128(%rax), %ecx
	cmpl	$5, %ecx
	ja	LBB0_27
## %bb.17:
	leaq	4(%r12), %rsi
	leaq	12(%r12), %rbx
	leaq	16(%r12), %rdx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_18:
	movq	%rbx, %r12
	movslq	%r13d, %rbx
	movq	%r14, %rdi
	movq	%rsi, %r15
	movq	%rbx, %rsi
	movq	%rdx, %r13
	callq	_nvbios_rd16
	andl	$31, %eax
	cmpl	$31, %eax
	movl	$128, %ecx
	cmovel	%ecx, %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nvbios_rd16
	shrl	$5, %eax
	andl	$31, %eax
	cmpl	$31, %eax
	movl	$128, %ecx
	cmovel	%ecx, %eax
	movl	%eax, (%r13)
	movl	%eax, (%r12)
	jmp	LBB0_22
LBB0_19:
	leal	6(%r15), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd08
	testl	%eax, %eax
	movl	$55, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, 4(%r12)
	addl	$7, %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_nvbios_rd08
	testl	%eax, %eax
	movl	$54, %ecx
LBB0_20:
	cmovnel	%eax, %ecx
	movl	%ecx, 8(%r12)
LBB0_21:
	movl	$133, (%r12)
	movl	$128, 12(%r12)
LBB0_22:
	xorl	%r15d, %r15d
LBB0_23:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	%r14, %rdi
	movq	%rsi, %r12
	movl	%r13d, %esi
	callq	_nvbios_rd08
	andl	$15, %eax
	movl	%eax, (%r12)
	incl	%r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_nvbios_rd08
	testb	$1, %al
	je	LBB0_23
## %bb.25:
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_nvbios_rd08
	sarl	%eax
	movl	%eax, (%rbx)
	jmp	LBB0_23
LBB0_26:
	incl	%r13d
	movq	%r14, %rdi
	movq	%rsi, %rbx
	movl	%r13d, %esi
	callq	_nvbios_rd08
	movl	%eax, (%rbx)
	jmp	LBB0_23
LBB0_27:
	addq	$4, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_nvkm_warn
	movl	$128, (%r12)
	jmp	LBB0_23
LBB0_28:
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%rdx, %r12
	callq	_nvbios_rd08
	andl	$15, %eax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, (%r12)
	incl	%r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_nvbios_rd08
	testb	$1, %al
	je	LBB0_23
## %bb.29:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_23
LBB0_30:
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_nvbios_rd08
	movl	%eax, 4(%r12)
	incl	%r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_nvbios_rd08
	movl	%eax, 8(%r12)
	jmp	LBB0_23
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
	.long	L0_0_set_23
	.long	L0_0_set_18
	.long	L0_0_set_24
	.long	L0_0_set_28
	.long	L0_0_set_26
	.long	L0_0_set_30
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown i2c type %d\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function dcb_i2c_parse
lCPI0_0:
	.long	129                             ; 0x81
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dcb_i2c_parse
	.p2align	2
_dcb_i2c_parse:                         ; @dcb_i2c_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_dcb_i2c_entry
	cbz	w0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	w22, [sp, #12]
	cmp	w22, #65
	b.lt	LBB0_10
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	bl	_nvbios_rd32
	mvn	w8, w0
	tst	w8, #0x3ff
	b.ne	LBB0_17
; %bb.3:
	mov	w0, #0
	movi.4s	v0, #128
	str	q0, [x20]
	mov	w8, #128
	str	w8, [x20, #16]
	b	LBB0_23
LBB0_4:
	cmp	w22, #1
	b.gt	LBB0_16
; %bb.5:
	ldr	w8, [x19]
	cbz	w8, LBB0_16
; %bb.6:
	add	w1, w8, #5
	mov	x0, x19
	bl	_nvbios_rd08
	cmp	w0, #4
	b.ge	LBB0_19
; %bb.7:
	mov	w21, #72
	cmp	w22, #1
	b.eq	LBB0_20
LBB0_8:
	cbnz	w22, LBB0_22
; %bb.9:
	add	w1, w21, #4
	mov	x0, x19
	bl	_nvbios_rd08
	mov	w8, #63
	cmp	w0, #0
	csel	w8, w8, w0, eq
	str	w8, [x20, #4]
	add	w1, w21, #5
	mov	x0, x19
	bl	_nvbios_rd08
	mov	w8, #62
	b	LBB0_21
LBB0_10:
	add	w1, w21, #3
	mov	x0, x19
	bl	_nvbios_rd08
	mov	x2, x0
	cmp	w22, #48
	b.ge	LBB0_12
; %bb.11:
	and	w8, w2, #0x7
	mov	w9, #128
	cmp	w8, #7
	csel	w2, w9, w8, eq
LBB0_12:
	str	w2, [x20]
	movi.4s	v0, #128
	mov	x23, x20
	str	q0, [x23, #4]!
	sub	w8, w2, #128
	cmp	w8, #5
	b.hi	LBB0_25
; %bb.13:
	mov	w0, #0
	add	x22, x23, #8
	add	x24, x23, #12
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_14
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_14:
	mov	x0, x19
	mov	x1, x21
	bl	_nvbios_rd08
	and	w8, w0, #0xf
	str	w8, [x23]
	add	w20, w21, #1
	mov	x0, x19
	mov	x1, x20
	bl	_nvbios_rd08
	tbz	w0, #0, LBB0_27
; %bb.15:
	mov	x0, x19
	mov	x1, x20
	bl	_nvbios_rd08
	mov	x8, x0
	mov	w0, #0
	asr	w8, w8, #1
	str	w8, [x22]
	b	LBB0_23
LBB0_16:
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_23
LBB0_17:
	add	x23, x20, #4
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	mov	x22, x20
	str	q0, [x22], #12
	mov	w8, #128
	str	w8, [x20, #16]!
	mov	x24, x20
LBB0_18:
	sxtw	x20, w21
	mov	x0, x19
	mov	x1, x20
	bl	_nvbios_rd16
	and	w8, w0, #0x1f
	mov	w21, #128
	cmp	w8, #31
	csel	w8, w21, w8, eq
	str	w8, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_nvbios_rd16
	mov	x8, x0
	mov	w0, #0
	ubfx	w8, w8, #5, #5
	cmp	w8, #31
	csel	w8, w21, w8, eq
	str	w8, [x24]
	str	w8, [x22]
	b	LBB0_23
LBB0_19:
	ldr	w8, [x19]
	add	w21, w8, #54
	cmp	w22, #1
	b.ne	LBB0_8
LBB0_20:
	add	w1, w21, #6
	mov	x0, x19
	bl	_nvbios_rd08
	mov	w8, #55
	cmp	w0, #0
	csel	w8, w8, w0, eq
	str	w8, [x20, #4]
	add	w1, w21, #7
	mov	x0, x19
	bl	_nvbios_rd08
	mov	w8, #54
LBB0_21:
	cmp	w0, #0
	csel	w8, w8, w0, eq
	str	w8, [x20, #8]
LBB0_22:
	mov	w0, #0
	mov	w8, #133
	str	w8, [x20]
	mov	w8, #128
	str	w8, [x20, #12]
LBB0_23:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_24:
	add	w1, w21, #1
	mov	x0, x19
	bl	_nvbios_rd08
	mov	x8, x0
	mov	w0, #0
	str	w8, [x23]
	b	LBB0_23
LBB0_25:
	add	x0, x19, #4
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nvkm_warn
	mov	w0, #0
	mov	w8, #128
	str	w8, [x20]
	b	LBB0_23
LBB0_26:
	mov	x0, x19
	mov	x1, x21
	bl	_nvbios_rd08
	and	w8, w0, #0xf
	str	w8, [x24]
	add	w1, w21, #1
	mov	x0, x19
	bl	_nvbios_rd08
	tbnz	w0, #0, LBB0_29
LBB0_27:
	mov	w0, #0
	b	LBB0_23
LBB0_28:
	mov	x0, x19
	mov	x1, x21
	bl	_nvbios_rd08
	str	w0, [x20, #4]
	add	w1, w21, #1
	mov	x0, x19
	bl	_nvbios_rd08
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20, #8]
	b	LBB0_23
LBB0_29:
	mov	w0, #0
	ldr	w8, [x24]
	str	w8, [x22]
	b	LBB0_23
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_26-LBB0_14)>>2
	.byte	(LBB0_24-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown i2c type %d\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
