	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_pll_attach                 ## -- Begin function dvb_pll_attach
	.p2align	4, 0x90
_dvb_pll_attach:                        ## @dvb_pll_attach
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movl	%esi, -96(%rbp)
	movl	$1, -92(%rbp)
	movq	_I2C_M_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$1, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_29
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	$0, (%rax)
	movq	%rax, -88(%rbp)
	movq	%rax, %r14
	movq	_DVB_PLL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	_pll_ida@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_ida_simple_get
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%eax, %r15d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %r13d
	movl	(%rax,%r13,4), %r12d
	movq	_DVB_PLL_UNDEFINED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jbe	LBB0_4
## %bb.5:
	movq	_pll_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jae	LBB0_7
## %bb.6:
	movq	_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %ebx
LBB0_7:
	testl	%ebx, %ebx
	je	LBB0_8
LBB0_9:
	movq	_pll_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	setae	%dil
	jmp	LBB0_10
LBB0_2:
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_29
LBB0_4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	testl	%ebx, %ebx
	jne	LBB0_9
LBB0_8:
	movl	$1, %edi
LBB0_10:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	callq	_BUG_ON
	movq	_pll_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rbx
	testq	%r13, %r13
	je	LBB0_16
## %bb.11:
	movq	40(%r14), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	*%rax
LBB0_13:
	leaq	-96(%rbp), %rsi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_i2c_transfer
	cmpl	$1, %eax
	jne	LBB0_28
## %bb.14:
	movq	40(%r14), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	*%rax
LBB0_16:
	movl	(%r12), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_28
## %bb.17:
	movq	%rax, %r12
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r12)
	movq	%r13, 16(%r12)
	movq	%rbx, 8(%r12)
	movl	%r15d, 4(%r12)
	leaq	8(%r14), %r13
	movq	_dvb_pll_tuner_ops@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	32(%r14), %edi
	movl	(%rbx), %esi
	movl	$4, %edx
	callq	_strscpy
	movl	16(%rbx), %edx
	movl	%edx, 28(%r14)
	movl	12(%rbx), %ecx
	movl	%ecx, 24(%r14)
	movslq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	cmpl	$0, 8(%rbx)
	je	LBB0_18
## %bb.19:
	cmpl	$0, 4(%rbx)
	je	LBB0_20
LBB0_21:
	movq	%r12, (%r14)
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.22:
	movslq	4(%r12), %rsi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_28:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	movq	_pll_ida@GOTPCREL(%rip), %rdi
	movl	%r15d, %esi
	callq	_ida_simple_remove
LBB0_29:
	xorl	%r14d, %r14d
LBB0_30:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	$0, 16(%r14)
	cmpl	$0, 4(%rbx)
	jne	LBB0_21
LBB0_20:
	movq	$0, (%r13)
	jmp	LBB0_21
LBB0_23:
	movq	_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	4(%r12), %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax,%rsi,4)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_27
LBB0_24:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	testq	%r13, %r13
	je	LBB0_26
## %bb.25:
	movq	%r13, %rdi
	callq	_i2c_adapter_id
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_pr_cont
LBB0_26:
	movl	(%rbx), %edx
	movq	_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	4(%r12), %rcx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, (%rax,%rcx,4)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_cont
LBB0_27:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_pll_ida,4,2                    ## @pll_ida
	.comm	_DVB_PLL_MAX,4,2                ## @DVB_PLL_MAX
	.comm	_id,8,3                         ## @id
	.comm	_DVB_PLL_UNDEFINED,4,2          ## @DVB_PLL_UNDEFINED
	.comm	_pll_list,8,3                   ## @pll_list
	.comm	_dvb_pll_tuner_ops,4,2          ## @dvb_pll_tuner_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s tuner, frequency range: %u...%u\n"

	.comm	_debug,8,3                      ## @debug
L_.str.1:                               ## @.str.1
	.asciz	"dvb-pll[%d]"

L_.str.2:                               ## @.str.2
	.asciz	" %d-%04x"

L_.str.3:                               ## @.str.3
	.asciz	": id# %d (%s) attached, %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"insmod option"

L_.str.5:                               ## @.str.5
	.asciz	"autodetected"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_pll_attach                 ; -- Begin function dvb_pll_attach
	.p2align	2
_dvb_pll_attach:                        ; @dvb_pll_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	mov	w8, #1
Lloh0:
	adrp	x9, _I2C_M_RD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_M_RD@GOTPAGEOFF]
	stp	w1, w8, [sp, #24]
Lloh2:
	ldr	w8, [x9]
	str	w8, [sp, #40]
Lloh3:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	w0, #1
	bl	_kmalloc
	cbz	x0, LBB0_21
; %bb.1:
	mov	x21, x0
	str	xzr, [x0]
	str	x0, [sp, #32]
Lloh5:
	adrp	x8, _DVB_PLL_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DVB_PLL_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w3, [x25]
Lloh8:
	adrp	x0, _pll_ida@GOTPAGE
Lloh9:
	ldr	x0, [x0, _pll_ida@GOTPAGEOFF]
	mov	w1, #0
	bl	_ida_simple_get
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	x24, x0
Lloh10:
	adrp	x27, _id@GOTPAGE
Lloh11:
	ldr	x27, [x27, _id@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	w28, [x8, w0, uxtw #2]
Lloh12:
	adrp	x8, _DVB_PLL_UNDEFINED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DVB_PLL_UNDEFINED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x26, _pll_list@GOTPAGE
Lloh16:
	ldr	x26, [x26, _pll_list@GOTPAGEOFF]
	cmp	w28, w8
	b.ls	LBB0_5
; %bb.3:
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w28, w0
	b.hs	LBB0_5
; %bb.4:
	mov	w8, w24
	ldr	x9, [x27]
	ldr	w20, [x9, x8, lsl #2]
LBB0_5:
	cbz	w20, LBB0_8
; %bb.6:
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w20, w0
	cset	w0, hs
	b	LBB0_9
LBB0_7:
	mov	x0, x21
	bl	_kfree
	b	LBB0_21
LBB0_8:
	mov	w0, #1
LBB0_9:
	bl	_BUG_ON
	ldr	x8, [x26]
	ldr	x28, [x8, w20, uxtw #3]
	cbz	x23, LBB0_15
; %bb.10:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #1
	blr	x8
LBB0_12:
	add	x1, sp, #24
	mov	x0, x23
	mov	w2, #1
	bl	_i2c_transfer
	cmp	w0, #1
	b.ne	LBB0_20
; %bb.13:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x19
	mov	w1, #0
	blr	x8
LBB0_15:
	ldr	w1, [x25]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_20
; %bb.16:
	mov	x25, x0
	stp	x28, x23, [x0, #8]
	add	x26, x19, #8
	stp	w22, w24, [x0]
Lloh17:
	adrp	x1, _dvb_pll_tuner_ops@GOTPAGE
Lloh18:
	ldr	x1, [x1, _dvb_pll_tuner_ops@GOTPAGEOFF]
	mov	x0, x26
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19, #32]
	ldr	w1, [x28]
	mov	w2, #4
	bl	_strscpy
	ldr	w8, [x28, #16]
	str	w8, [x19, #28]
	ldr	w9, [x28, #12]
	str	w9, [x19, #24]
	ldrsw	x1, [x28]
	stp	x8, x9, [sp]
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldr	w8, [x28, #8]
	cbz	w8, LBB0_23
; %bb.17:
	ldr	w8, [x28, #4]
	cbz	w8, LBB0_24
LBB0_18:
	str	x25, [x19]
Lloh21:
	adrp	x8, _debug@GOTPAGE
Lloh22:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_25
; %bb.19:
	ldrsw	x1, [x25, #4]
	b	LBB0_26
LBB0_20:
	mov	x0, x21
	bl	_kfree
Lloh24:
	adrp	x0, _pll_ida@GOTPAGE
Lloh25:
	ldr	x0, [x0, _pll_ida@GOTPAGEOFF]
	mov	x1, x24
	bl	_ida_simple_remove
LBB0_21:
	mov	x19, #0
LBB0_22:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_23:
	str	xzr, [x19, #16]
	ldr	w8, [x28, #4]
	cbnz	w8, LBB0_18
LBB0_24:
	str	xzr, [x26]
	b	LBB0_18
LBB0_25:
	ldr	x8, [x27]
	ldrsw	x1, [x25, #4]
	ldr	w8, [x8, x1, lsl #2]
	cmp	w8, w20
	b.ne	LBB0_29
LBB0_26:
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
	cbz	x23, LBB0_28
; %bb.27:
	mov	x0, x23
	bl	_i2c_adapter_id
	mov	x1, x0
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x22
	bl	_pr_cont
LBB0_28:
	ldr	w2, [x28]
	ldr	x8, [x27]
	ldrsw	x9, [x25, #4]
	ldr	w8, [x8, x9, lsl #2]
Lloh30:
	adrp	x9, l_.str.5@PAGE
Lloh31:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh32:
	adrp	x10, l_.str.4@PAGE
Lloh33:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w8, w20
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_pr_cont
LBB0_29:
	mov	x0, x21
	bl	_kfree
	b	LBB0_22
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_pll_ida,4,2                    ; @pll_ida
	.comm	_DVB_PLL_MAX,4,2                ; @DVB_PLL_MAX
	.comm	_id,8,3                         ; @id
	.comm	_DVB_PLL_UNDEFINED,4,2          ; @DVB_PLL_UNDEFINED
	.comm	_pll_list,8,3                   ; @pll_list
	.comm	_dvb_pll_tuner_ops,4,2          ; @dvb_pll_tuner_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s tuner, frequency range: %u...%u\n"

	.comm	_debug,8,3                      ; @debug
l_.str.1:                               ; @.str.1
	.asciz	"dvb-pll[%d]"

l_.str.2:                               ; @.str.2
	.asciz	" %d-%04x"

l_.str.3:                               ; @.str.3
	.asciz	": id# %d (%s) attached, %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"insmod option"

l_.str.5:                               ; @.str.5
	.asciz	"autodetected"

.subsections_via_symbols
