	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zl100313_frontend_attach
_zl100313_frontend_attach:              ## @zl100313_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_mt312_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	movq	_zl313_config@GOTPCREL(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_zl10039_attach@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	8(%rbx), %rcx
	xorl	%r14d, %r14d
	movq	%rax, %rsi
	movl	$96, %edx
	xorl	%eax, %eax
	callq	_dvb_attach
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_dw210x_set_voltage@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str(%rip), %rdi
	callq	_info
	jmp	LBB0_4
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	%r15d, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mt312_attach,4,2               ## @mt312_attach
	.comm	_zl313_config,4,2               ## @zl313_config
	.comm	_zl10039_attach,4,2             ## @zl10039_attach
	.comm	_dw210x_set_voltage,4,2         ## @dw210x_set_voltage
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attached zl100313+zl10039!"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_zl100313_frontend_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zl100313_frontend_attach
_zl100313_frontend_attach:              ; @zl100313_frontend_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, _mt312_attach@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mt312_attach@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
Lloh3:
	adrp	x1, _zl313_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _zl313_config@GOTPAGEOFF]
	bl	_dvb_attach
	ldr	x8, [x19]
	str	x0, [x8]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, x0
Lloh5:
	adrp	x8, _zl10039_attach@GOTPAGE
Lloh6:
	ldr	x8, [x8, _zl10039_attach@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	str	x8, [sp]
	mov	w2, #96
	bl	_dvb_attach
	cbz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _dw210x_set_voltage@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dw210x_set_voltage@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	str	w8, [x9]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_info
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_mt312_attach,4,2               ; @mt312_attach
	.comm	_zl313_config,4,2               ; @zl313_config
	.comm	_zl10039_attach,4,2             ; @zl10039_attach
	.comm	_dw210x_set_voltage,4,2         ; @dw210x_set_voltage
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attached zl100313+zl10039!"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_zl100313_frontend_attach
.subsections_via_symbols
