	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpu_i2c_probe
_gpu_i2c_probe:                         ## @gpu_i2c_probe
	.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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 40(%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	%r14, %rdi
	callq	_pcim_enable_device
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movq	%r14, %rdi
	callq	_pci_set_master
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pcim_iomap
	movl	%eax, 32(%r15)
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	_PCI_IRQ_MSI@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_pci_alloc_irq_vectors
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	callq	_gpu_enable_i2c_bus
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_adapdata
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movl	24(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_gpu_i2c_algorithm@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	_gpu_i2c_quirks@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	%r14, (%r15)
	movq	%r15, %rdi
	callq	_i2c_add_adapter
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movl	4(%r14), %esi
	movq	%r15, %rdi
	callq	_gpu_populate_client
	testl	%eax, %eax
	js	LBB0_12
## %bb.15:
	movq	%r14, %rdi
	movl	$3000, %esi                     ## imm = 0xBB8
	callq	_pm_runtime_set_autosuspend_delay
	movq	%r14, %rdi
	callq	_pm_runtime_use_autosuspend
	movq	%r14, %rdi
	callq	_pm_runtime_put_autosuspend
	movq	%r14, %rdi
	callq	_pm_runtime_allow
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_8:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_14
LBB0_10:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_12:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r15, %rdi
	callq	_i2c_del_adapter
LBB0_13:
	movq	%r14, %rdi
	callq	_pci_free_irq_vectors
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pcim_enable_device failed %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"pcim_iomap failed\n"

	.comm	_PCI_IRQ_MSI,4,2                ## @PCI_IRQ_MSI
L_.str.2:                               ## @.str.2
	.asciz	"pci_alloc_irq_vectors err %d\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
L_.str.3:                               ## @.str.3
	.asciz	"NVIDIA GPU I2C adapter"

	.comm	_gpu_i2c_algorithm,4,2          ## @gpu_i2c_algorithm
	.comm	_gpu_i2c_quirks,4,2             ## @gpu_i2c_quirks
L_.str.4:                               ## @.str.4
	.asciz	"gpu_populate_client failed %d\n"

	.no_dead_strip	_gpu_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpu_i2c_probe
_gpu_i2c_probe:                         ; @gpu_i2c_probe
	.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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #40]
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	mov	x0, x19
	bl	_pcim_enable_device
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_pci_set_master
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_pcim_iomap
	str	w0, [x20, #32]
	cbz	w0, LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _PCI_IRQ_MSI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_IRQ_MSI@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_pci_alloc_irq_vectors
	tbnz	w0, #31, LBB0_11
; %bb.4:
	mov	x0, x20
	bl	_gpu_enable_i2c_bus
	mov	x0, x20
	mov	x1, x20
	bl	_i2c_set_adapdata
Lloh6:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #28]
	ldr	w0, [x20, #24]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
Lloh11:
	adrp	x8, _gpu_i2c_algorithm@GOTPAGE
Lloh12:
	ldr	x8, [x8, _gpu_i2c_algorithm@GOTPAGEOFF]
	str	x8, [x20, #16]
Lloh13:
	adrp	x8, _gpu_i2c_quirks@GOTPAGE
Lloh14:
	ldr	x8, [x8, _gpu_i2c_quirks@GOTPAGEOFF]
	stp	x19, x8, [x20]
	mov	x0, x20
	bl	_i2c_add_adapter
	tbnz	w0, #31, LBB0_12
; %bb.5:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_gpu_populate_client
	tbnz	w0, #31, LBB0_13
; %bb.6:
	mov	x0, x19
	mov	w1, #3000
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x19
	bl	_pm_runtime_use_autosuspend
	mov	x0, x19
	bl	_pm_runtime_put_autosuspend
	mov	x0, x19
	bl	_pm_runtime_allow
	mov	w21, #0
	b	LBB0_10
LBB0_7:
	mov	x21, x0
	str	x21, [sp]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_10
LBB0_8:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_9:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	mov	x0, x21
	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
LBB0_11:
	mov	x21, x0
	str	x21, [sp]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_10
LBB0_12:
	mov	x21, x0
	b	LBB0_14
LBB0_13:
	mov	x21, x0
	str	x21, [sp]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
	bl	_i2c_del_adapter
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
LBB0_14:
	mov	x0, x19
	bl	_pci_free_irq_vectors
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pcim_enable_device failed %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"pcim_iomap failed\n"

	.comm	_PCI_IRQ_MSI,4,2                ; @PCI_IRQ_MSI
l_.str.2:                               ; @.str.2
	.asciz	"pci_alloc_irq_vectors err %d\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
l_.str.3:                               ; @.str.3
	.asciz	"NVIDIA GPU I2C adapter"

	.comm	_gpu_i2c_algorithm,4,2          ; @gpu_i2c_algorithm
	.comm	_gpu_i2c_quirks,4,2             ; @gpu_i2c_quirks
l_.str.4:                               ; @.str.4
	.asciz	"gpu_populate_client failed %d\n"

	.no_dead_strip	_gpu_i2c_probe
.subsections_via_symbols
