	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgdt330x_probe
_lgdt330x_probe:                        ## @lgdt330x_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	leaq	8(%rbx), %rdi
	movq	(%r14), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 16(%rbx)
	movl	8(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.4:
	movq	_lgdt3303_ops@GOTPCREL(%rip), %rsi
	jmp	LBB0_5
LBB0_2:
	movq	_lgdt3302_ops@GOTPCREL(%rip), %rsi
LBB0_5:
	movq	%rbx, %rdi
	addq	$32, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, 24(%rbx)
	movq	_lgdt330x_get_dvb_frontend@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$1, %ecx
	callq	_i2c_read_demod_bytes
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_kfree
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rsi
	callq	_dev_printk
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	$-1, (%rbx)
	movq	16(%rbx), %rdi
	cmpl	$129, 8(%rbx)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_lgdt3302_ops,4,2               ## @lgdt3302_ops
	.comm	_lgdt3303_ops,4,2               ## @lgdt3303_ops
	.comm	_lgdt330x_get_dvb_frontend,4,2  ## @lgdt330x_get_dvb_frontend
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Demod loaded for LGDT330%s chip\n"

L_.str.1:                               ## @.str.1
	.asciz	"2"

L_.str.2:                               ## @.str.2
	.asciz	"3"

	.comm	_debug,8,3                      ## @debug
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
L_.str.3:                               ## @.str.3
	.asciz	"Error loading lgdt330x driver\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_lgdt330x_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lgdt330x_probe
_lgdt330x_probe:                        ; @lgdt330x_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.1:
	add	x0, x20, #8
	ldr	x1, [x19]
	mov	w2, #8
	bl	_memcpy
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x19, [x20, #16]
	ldr	w8, [x20, #8]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.3:
Lloh3:
	adrp	x1, _lgdt3303_ops@GOTPAGE
Lloh4:
	ldr	x1, [x1, _lgdt3303_ops@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x1, _lgdt3302_ops@GOTPAGE
Lloh6:
	ldr	x1, [x1, _lgdt3302_ops@GOTPAGEOFF]
LBB0_5:
	add	x0, x20, #32
	mov	w2, #4
	bl	_memcpy
	str	x20, [x20, #24]
Lloh7:
	adrp	x8, _lgdt330x_get_dvb_frontend@GOTPAGE
Lloh8:
	ldr	x8, [x8, _lgdt330x_get_dvb_frontend@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x20, #12]
	add	x2, sp, #12
	mov	x0, x20
	mov	w1, #2
	mov	w3, #1
	bl	_i2c_read_demod_bytes
	cbz	x0, LBB0_10
LBB0_6:
	mov	x0, x20
	bl	_kfree
Lloh10:
	adrp	x8, _debug@GOTPAGE
Lloh11:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh13:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_dev_printk
LBB0_8:
Lloh18:
	adrp	x8, _ENODEV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x20]
	ldr	x0, [x20, #16]
	ldr	w8, [x20, #8]
Lloh21:
	adrp	x9, l_.str.2@PAGE
Lloh22:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh23:
	adrp	x10, l_.str.1@PAGE
Lloh24:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #129
	csel	x2, x10, x9, eq
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_lgdt3302_ops,4,2               ; @lgdt3302_ops
	.comm	_lgdt3303_ops,4,2               ; @lgdt3303_ops
	.comm	_lgdt330x_get_dvb_frontend,4,2  ; @lgdt330x_get_dvb_frontend
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Demod loaded for LGDT330%s chip\n"

l_.str.1:                               ; @.str.1
	.asciz	"2"

l_.str.2:                               ; @.str.2
	.asciz	"3"

	.comm	_debug,8,3                      ; @debug
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
l_.str.3:                               ; @.str.3
	.asciz	"Error loading lgdt330x driver\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_lgdt330x_probe
.subsections_via_symbols
