	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vp3054_i2c_probe               ## -- Begin function vp3054_i2c_probe
	.p2align	4, 0x90
_vp3054_i2c_probe:                      ## @vp3054_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	%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	16(%rdi), %r12
	movq	(%r12), %rax
	movq	_CX88_BOARD_DNTV_LIVE_DVB_T_PRO@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, (%r15)
	movq	%rax, %r13
	addq	$24, %r13
	movq	_vp3054_i2c_algo_template@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	8(%r15), %rax
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %edi
	movl	8(%r12), %esi
	movl	$4, %edx
	callq	_strscpy
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r15, 24(%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_adapdata
	movq	%r13, (%rbx)
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_vp3054_bit_setscl
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_vp3054_bit_setsda
	movq	%rbx, %rdi
	callq	_i2c_bit_add_bus
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	(%r15), %rdi
	callq	_kfree
	movq	$0, (%r15)
	movl	%ebx, %r14d
	jmp	LBB0_5
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CX88_BOARD_DNTV_LIVE_DVB_T_PRO,8,3 ## @CX88_BOARD_DNTV_LIVE_DVB_T_PRO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_vp3054_i2c_algo_template,8,3   ## @vp3054_i2c_algo_template
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vp3054_i2c register FAILED\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vp3054_i2c_probe               ; -- Begin function vp3054_i2c_probe
	.p2align	2
_vp3054_i2c_probe:                      ; @vp3054_i2c_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x0, #16]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _CX88_BOARD_DNTV_LIVE_DVB_T_PRO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CX88_BOARD_DNTV_LIVE_DVB_T_PRO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	str	x0, [x19]
Lloh6:
	adrp	x8, _vp3054_i2c_algo_template@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vp3054_i2c_algo_template@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	mov	x22, x0
	str	x8, [x22, #24]!
	ldr	x8, [x19, #8]
	str	x8, [x0, #16]
	ldr	w0, [x0, #12]
	ldr	w1, [x21, #8]
	mov	w2, #4
	bl	_strscpy
Lloh9:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	str	x19, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_i2c_set_adapdata
	str	x22, [x20]
	mov	x0, x19
	mov	w1, #1
	bl	_vp3054_bit_setscl
	mov	x0, x19
	mov	w1, #1
	bl	_vp3054_bit_setsda
	mov	x0, x20
	bl	_i2c_bit_add_bus
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.3:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
	b	LBB0_6
LBB0_4:
	mov	w20, #0
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CX88_BOARD_DNTV_LIVE_DVB_T_PRO,8,3 ; @CX88_BOARD_DNTV_LIVE_DVB_T_PRO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_vp3054_i2c_algo_template,8,3   ; @vp3054_i2c_algo_template
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vp3054_i2c register FAILED\n"

.subsections_via_symbols
