	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function digitv_frontend_attach
_digitv_frontend_attach:                ## @digitv_frontend_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdx
	movq	8(%rdx), %r14
	movq	_mt352_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_digitv_mt352_config@GOTPCREL(%rip), %rsi
	callq	_dvb_attach
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$0, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	_nxt6000_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rdx
	movq	_digitv_nxt6000_config@GOTPCREL(%rip), %rsi
	callq	_dvb_attach
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mt352_attach,4,2               ## @mt352_attach
	.comm	_digitv_mt352_config,4,2        ## @digitv_mt352_config
	.comm	_nxt6000_attach,4,2             ## @nxt6000_attach
	.comm	_digitv_nxt6000_config,4,2      ## @digitv_nxt6000_config
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_digitv_frontend_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function digitv_frontend_attach
_digitv_frontend_attach:                ; @digitv_frontend_attach
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x2, [x0, #8]
	ldr	x20, [x2, #8]
Lloh0:
	adrp	x8, _mt352_attach@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mt352_attach@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _digitv_mt352_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _digitv_mt352_config@GOTPAGEOFF]
	bl	_dvb_attach
	ldr	x8, [x19]
	str	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	str	wzr, [x20]
	b	LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _nxt6000_attach@GOTPAGE
Lloh6:
	ldr	x8, [x8, _nxt6000_attach@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x2, [x19, #8]
Lloh8:
	adrp	x1, _digitv_nxt6000_config@GOTPAGE
Lloh9:
	ldr	x1, [x1, _digitv_nxt6000_config@GOTPAGEOFF]
	bl	_dvb_attach
	ldr	x8, [x19]
	str	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_mt352_attach,4,2               ; @mt352_attach
	.comm	_digitv_mt352_config,4,2        ; @digitv_mt352_config
	.comm	_nxt6000_attach,4,2             ; @nxt6000_attach
	.comm	_digitv_nxt6000_config,4,2      ; @digitv_nxt6000_config
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_digitv_frontend_attach
.subsections_via_symbols
