	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_i2c_bus_ctor              ## -- Begin function nvkm_i2c_bus_ctor
	.p2align	4, 0x90
_nvkm_i2c_bus_ctor:                     ## @nvkm_i2c_bus_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	8(%rax), %r13
	movq	%rdi, 40(%rcx)
	movq	%rsi, 56(%rcx)
	movl	%edx, (%rcx)
	leaq	52(%rcx), %rdi
	callq	_mutex_init
	leaq	48(%r12), %rdi
	movq	(%rbx), %rsi
	callq	_list_add_tail
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_BUS_TRACE
	leaq	8(%r12), %r14
	movl	32(%r12), %ebx
	movl	4(%r13), %edi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %edi
	movl	$4, %esi
	movq	%rax, %rcx
	movl	%r15d, %r8d
	callq	_snprintf
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r12)
	movl	4(%r13), %eax
	movl	%eax, 24(%r12)
	movq	40(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	callq	_nvkm_boolopt
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	movq	_nvkm_i2c_bus_algo@GOTPCREL(%rip), %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i2c_add_adapter                ## TAILCALL
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r15
	movl	$10, (%rax)
	movl	$2200, %edi                     ## imm = 0x898
	callq	_usecs_to_jiffies
	movl	%eax, 40(%r15)
	movq	%r12, 32(%r15)
	movq	_nvkm_i2c_bus_pre_xfer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_nvkm_i2c_bus_post_xfer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_nvkm_i2c_bus_setscl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_nvkm_i2c_bus_setsda@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	_nvkm_i2c_bus_getscl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_nvkm_i2c_bus_getsda@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	%r15, 16(%r12)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i2c_bit_add_bus                ## TAILCALL
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ctor"

L_.str.1:                               ## @.str.1
	.asciz	"nvkm-%s-bus-%04x"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
L_.str.2:                               ## @.str.2
	.asciz	"NvI2C"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nvkm_i2c_bus_pre_xfer,4,2      ## @nvkm_i2c_bus_pre_xfer
	.comm	_nvkm_i2c_bus_post_xfer,4,2     ## @nvkm_i2c_bus_post_xfer
	.comm	_nvkm_i2c_bus_setscl,4,2        ## @nvkm_i2c_bus_setscl
	.comm	_nvkm_i2c_bus_setsda,4,2        ## @nvkm_i2c_bus_setsda
	.comm	_nvkm_i2c_bus_getscl,4,2        ## @nvkm_i2c_bus_getscl
	.comm	_nvkm_i2c_bus_getsda,4,2        ## @nvkm_i2c_bus_getsda
	.comm	_nvkm_i2c_bus_algo,4,2          ## @nvkm_i2c_bus_algo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_i2c_bus_ctor              ; -- Begin function nvkm_i2c_bus_ctor
	.p2align	2
_nvkm_i2c_bus_ctor:                     ; @nvkm_i2c_bus_ctor
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	ldr	x8, [x1]
	ldr	x23, [x8, #8]
	str	x0, [x3, #40]
	str	x1, [x3, #56]
	str	w2, [x3]
	add	x0, x3, #52
	bl	_mutex_init
	add	x0, x19, #48
	ldr	x1, [x20]
	bl	_list_add_tail
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_BUS_TRACE
	add	x20, x19, #8
	ldr	w22, [x19, #32]
	ldr	w0, [x23, #4]
	bl	_dev_name
	mov	x3, x0
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	w1, #4
	mov	x4, x21
	bl	_snprintf
Lloh4:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x23, #4]
	stp	w9, w8, [x19, #24]
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #0
	bl	_nvkm_boolopt
	cbz	w0, LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _nvkm_i2c_bus_algo@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nvkm_i2c_bus_algo@GOTPAGEOFF]
	str	x8, [x20]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_i2c_add_adapter
LBB0_3:
Lloh11:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
	mov	w8, #10
	str	w8, [x0]
	mov	w0, #2200
	bl	_usecs_to_jiffies
	str	w0, [x21, #40]
	str	x19, [x21, #32]
Lloh14:
	adrp	x8, _nvkm_i2c_bus_pre_xfer@GOTPAGE
Lloh15:
	ldr	x8, [x8, _nvkm_i2c_bus_pre_xfer@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _nvkm_i2c_bus_post_xfer@GOTPAGE
Lloh18:
	ldr	x9, [x9, _nvkm_i2c_bus_post_xfer@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #20]
Lloh20:
	adrp	x8, _nvkm_i2c_bus_setscl@GOTPAGE
Lloh21:
	ldr	x8, [x8, _nvkm_i2c_bus_setscl@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _nvkm_i2c_bus_setsda@GOTPAGE
Lloh24:
	ldr	x9, [x9, _nvkm_i2c_bus_setsda@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #12]
Lloh26:
	adrp	x8, _nvkm_i2c_bus_getscl@GOTPAGE
Lloh27:
	ldr	x8, [x8, _nvkm_i2c_bus_getscl@GOTPAGEOFF]
Lloh28:
	adrp	x9, _nvkm_i2c_bus_getsda@GOTPAGE
Lloh29:
	ldr	x9, [x9, _nvkm_i2c_bus_getsda@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #4]
	str	x21, [x19, #16]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_i2c_bit_add_bus
LBB0_5:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh30
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ctor"

l_.str.1:                               ; @.str.1
	.asciz	"nvkm-%s-bus-%04x"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
l_.str.2:                               ; @.str.2
	.asciz	"NvI2C"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nvkm_i2c_bus_pre_xfer,4,2      ; @nvkm_i2c_bus_pre_xfer
	.comm	_nvkm_i2c_bus_post_xfer,4,2     ; @nvkm_i2c_bus_post_xfer
	.comm	_nvkm_i2c_bus_setscl,4,2        ; @nvkm_i2c_bus_setscl
	.comm	_nvkm_i2c_bus_setsda,4,2        ; @nvkm_i2c_bus_setsda
	.comm	_nvkm_i2c_bus_getscl,4,2        ; @nvkm_i2c_bus_getscl
	.comm	_nvkm_i2c_bus_getsda,4,2        ; @nvkm_i2c_bus_getsda
	.comm	_nvkm_i2c_bus_algo,4,2          ; @nvkm_i2c_bus_algo
.subsections_via_symbols
