	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_cxd2099_attach
_ci_cxd2099_attach:                     ## @ci_cxd2099_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_cxd_cfgtmpl@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -32(%rbp)
	movl	%esi, -24(%rbp)
	leaq	32(%rdi), %rax
	movq	%rax, -32(%rbp)
	movq	24(%rdi), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	leaq	-32(%rbp), %r8
	xorl	%esi, %esi
	movl	$64, %ecx
	callq	_dvb_module_probe
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	$0, 8(%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cxd_cfgtmpl,16,3               ## @cxd_cfgtmpl
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cxd2099"

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

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_cxd2099_attach
_ci_cxd2099_attach:                     ; @ci_cxd2099_attach
	.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, _cxd_cfgtmpl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cxd_cfgtmpl@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	str	w1, [sp, #8]
	add	x8, x0, #32
	str	x8, [sp]
	ldr	x2, [x0, #24]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x4, sp
	mov	x1, #0
	mov	w3, #64
	bl	_dvb_module_probe
	cbz	x0, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	str	x8, [x9]
	str	xzr, [x19, #8]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_cxd_cfgtmpl,16,3               ; @cxd_cfgtmpl
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cxd2099"

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

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