	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx24123_attach                 ## -- Begin function cx24123_attach
	.p2align	4, 0x90
_cx24123_attach:                        ## @cx24123_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%r15, 64(%rbx)
	movq	%r14, 56(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_cx24123_readreg
	movl	%eax, (%rbx)
	cmpl	$225, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$209, %eax
	jne	LBB0_14
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_11
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	callq	_info
	leaq	16(%rbx), %rdi
	movq	_cx24123_ops@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, 8(%rbx)
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_cx24123_repeater_mode
LBB0_8:
	leaq	24(%rbx), %r15
	movl	48(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	$4, %edx
	callq	_strscpy
	movq	_cx24123_tuner_i2c_algo@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	$0, 32(%rbx)
	movl	(%r14), %eax
	movl	%eax, 24(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_adapdata
	movq	%r15, %rdi
	callq	_i2c_add_adapter
	testq	%rax, %rax
	js	LBB0_10
## %bb.9:
	addq	$8, %rbx
	jmp	LBB0_13
LBB0_14:
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.6(%rip), %rdi
LBB0_11:
	xorl	%eax, %eax
	callq	_err
LBB0_12:
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to kzalloc\n"

L_.str.2:                               ## @.str.2
	.asciz	"detected CX24123C\n"

L_.str.3:                               ## @.str.3
	.asciz	"detected CX24123\n"

L_.str.4:                               ## @.str.4
	.asciz	"wrong demod revision: %x\n"

	.comm	_cx24123_ops,4,2                ## @cx24123_ops
L_.str.5:                               ## @.str.5
	.asciz	"CX24123 tuner I2C bus"

	.comm	_cx24123_tuner_i2c_algo,4,2     ## @cx24123_tuner_i2c_algo
L_.str.6:                               ## @.str.6
	.asciz	"tuner i2c bus could not be initialized\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx24123_attach                 ; -- Begin function cx24123_attach
	.p2align	2
_cx24123_attach:                        ; @cx24123_attach
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #72
	bl	_kzalloc
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	cbz	x19, LBB0_4
; %bb.1:
	stp	x20, x21, [x19, #56]
	mov	x0, x19
	mov	w1, #0
	bl	_cx24123_readreg
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x19]
	cmp	w0, #225
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #209
	b.ne	LBB0_10
; %bb.3:
Lloh5:
	adrp	x0, l_.str.3@PAGE
Lloh6:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_5:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_info
	add	x22, x19, #8
	add	x0, x19, #16
Lloh11:
	adrp	x1, _cx24123_ops@GOTPAGE
Lloh12:
	ldr	x1, [x1, _cx24123_ops@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
	str	x19, [x19, #8]
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_cx24123_repeater_mode
LBB0_8:
	ldr	w0, [x19, #48]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #4
	bl	_strscpy
Lloh15:
	adrp	x8, _cx24123_tuner_i2c_algo@GOTPAGE
Lloh16:
	ldr	x8, [x8, _cx24123_tuner_i2c_algo@GOTPAGEOFF]
	stp	xzr, x8, [x19, #32]
	ldr	w8, [x20]
	mov	x20, x19
	str	w8, [x20, #24]!
	mov	x0, x20
	mov	x1, x19
	bl	_i2c_set_adapdata
	mov	x0, x20
	bl	_i2c_add_adapter
	tbz	x0, #63, LBB0_12
; %bb.9:
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_11
LBB0_10:
	str	x0, [sp]
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_11:
	bl	_err
	mov	x0, x19
	bl	_kfree
	mov	x22, #0
LBB0_12:
	mov	x0, x22
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to kzalloc\n"

l_.str.2:                               ; @.str.2
	.asciz	"detected CX24123C\n"

l_.str.3:                               ; @.str.3
	.asciz	"detected CX24123\n"

l_.str.4:                               ; @.str.4
	.asciz	"wrong demod revision: %x\n"

	.comm	_cx24123_ops,4,2                ; @cx24123_ops
l_.str.5:                               ; @.str.5
	.asciz	"CX24123 tuner I2C bus"

	.comm	_cx24123_tuner_i2c_algo,4,2     ; @cx24123_tuner_i2c_algo
l_.str.6:                               ; @.str.6
	.asciz	"tuner i2c bus could not be initialized\n"

.subsections_via_symbols
