	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl861_frontend_attach
_gl861_frontend_attach:                 ## @gl861_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	_zl10353_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_adap_to_d
	movq	_gl861_zl10353_config@GOTPCREL(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	callq	_dvb_attach
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rcx
	movq	_EIO@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	subl	(%rdx), %eax
	cmpq	$0, (%rcx)
	cmovnel	%esi, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_zl10353_attach,4,2             ## @zl10353_attach
	.comm	_gl861_zl10353_config,4,2       ## @gl861_zl10353_config
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_gl861_frontend_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl861_frontend_attach
_gl861_frontend_attach:                 ; @gl861_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
Lloh0:
	adrp	x8, _zl10353_attach@GOTPAGE
Lloh1:
	ldr	x8, [x8, _zl10353_attach@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_adap_to_d
	mov	x2, x0
Lloh3:
	adrp	x1, _gl861_zl10353_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _gl861_zl10353_config@GOTPAGEOFF]
	mov	x0, x20
	bl	_dvb_attach
	ldr	x8, [x19]
	str	x0, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _EIO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	x8, #0
	csneg	w0, wzr, w9, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_zl10353_attach,4,2             ; @zl10353_attach
	.comm	_gl861_zl10353_config,4,2       ; @gl861_zl10353_config
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_gl861_frontend_attach
.subsections_via_symbols
