	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvd0_i2c_port_ctor
_nvd0_i2c_port_ctor:                    ## @nvd0_i2c_port_ctor
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%r8d, %eax
	movq	%rcx, %r14
	movq	_nouveau_i2c_bit_algo@GOTPCREL(%rip), %r8
	leaq	-32(%rbp), %r9
	movl	%eax, %ecx
	callq	_nouveau_i2c_port_create
	movl	%eax, %ebx
	movq	-32(%rbp), %rdi
	callq	_nv_object
	movq	%rax, (%r15)
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.1:
	movq	-32(%rbp), %rax
	movq	_nvd0_i2c_func@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%rax)
	movl	$7, (%rax)
	movl	(%r14), %ecx
	shll	$5, %ecx
	addl	$53268, %ecx                    ## imm = 0xD014
	movl	%ecx, 4(%rax)
	movl	4(%r14), %ecx
	movq	_DCB_I2C_UNUSED@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_3
## %bb.2:
	leal	(%rcx,%rcx,4), %ecx
	shll	$4, %ecx
	addl	$58624, %ecx                    ## imm = 0xE500
	movl	%ecx, 8(%rax)
	movl	$57345, 12(%rax)                ## imm = 0xE001
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nouveau_i2c_bit_algo,4,2       ## @nouveau_i2c_bit_algo
	.comm	_nvd0_i2c_func,4,2              ## @nvd0_i2c_func
	.comm	_DCB_I2C_UNUSED,4,2             ## @DCB_I2C_UNUSED
	.no_dead_strip	_nvd0_i2c_port_ctor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvd0_i2c_port_ctor
_nvd0_i2c_port_ctor:                    ; @nvd0_i2c_port_ctor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x5
	mov	x8, x4
	mov	x19, x3
Lloh0:
	adrp	x4, _nouveau_i2c_bit_algo@GOTPAGE
Lloh1:
	ldr	x4, [x4, _nouveau_i2c_bit_algo@GOTPAGEOFF]
	add	x5, sp, #8
	mov	x3, x8
	bl	_nouveau_i2c_port_create
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_nv_object
	str	x0, [x21]
	cbnz	w20, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
Lloh2:
	adrp	x9, _nvd0_i2c_func@GOTPAGE
Lloh3:
	ldr	x9, [x9, _nvd0_i2c_func@GOTPAGEOFF]
	str	x9, [x8, #16]
	mov	w10, #7
	mov	w11, #53268
	ldp	w12, w9, [x19]
	add	w11, w11, w12, lsl #5
	stp	w10, w11, [x8]
Lloh4:
	adrp	x10, _DCB_I2C_UNUSED@GOTPAGE
Lloh5:
	ldr	x10, [x10, _DCB_I2C_UNUSED@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_3
; %bb.2:
	mov	w10, #80
	mov	w11, #58624
	madd	w9, w9, w10, w11
	mov	w10, #57345
	stp	w9, w10, [x8, #8]
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_nouveau_i2c_bit_algo,4,2       ; @nouveau_i2c_bit_algo
	.comm	_nvd0_i2c_func,4,2              ; @nvd0_i2c_func
	.comm	_DCB_I2C_UNUSED,4,2             ; @DCB_I2C_UNUSED
	.no_dead_strip	_nvd0_i2c_port_ctor
.subsections_via_symbols
