	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttusb2_frontend_tda10086_attach
_ttusb2_frontend_tda10086_attach:       ## @ttusb2_frontend_tda10086_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	(%rdi), %rax
	movl	4(%rax), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$3, %edx
	callq	_usb_set_interface
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_err
LBB0_2:
	movq	_tda10086_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	movq	_tda10086_config@GOTPCREL(%rip), %rsi
	callq	_dvb_attach
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_deb_info
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set interface to alts=3 failed"

	.comm	_tda10086_attach,4,2            ## @tda10086_attach
	.comm	_tda10086_config,4,2            ## @tda10086_config
L_.str.1:                               ## @.str.1
	.asciz	"TDA10086 attach failed\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttusb2_frontend_tda10086_attach
_ttusb2_frontend_tda10086_attach:       ; @ttusb2_frontend_tda10086_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	x8, [x0]
	ldr	w0, [x8, #4]
	mov	w1, #0
	mov	w2, #3
	bl	_usb_set_interface
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_err
LBB0_2:
Lloh2:
	adrp	x8, _tda10086_attach@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tda10086_attach@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh5:
	adrp	x1, _tda10086_config@GOTPAGE
Lloh6:
	ldr	x1, [x1, _tda10086_config@GOTPAGEOFF]
	bl	_dvb_attach
	ldr	x8, [x19, #8]
	str	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_deb_info
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set interface to alts=3 failed"

	.comm	_tda10086_attach,4,2            ; @tda10086_attach
	.comm	_tda10086_config,4,2            ; @tda10086_config
l_.str.1:                               ; @.str.1
	.asciz	"TDA10086 attach failed\n"

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