	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp7045_frontend_attach
_vp7045_frontend_attach:                ## @vp7045_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
	subq	$288, %rsp                      ## imm = 0x120
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -49(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -224(%rbp)
	movaps	%xmm0, -240(%rbp)
	movaps	%xmm0, -256(%rbp)
	movaps	%xmm0, -272(%rbp)
	movaps	%xmm0, -288(%rbp)
	movl	(%rdi), %edi
	movq	_VENDOR_STRING_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	leaq	-288(%rbp), %r14
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movl	$20, %r9d
	callq	_vp7045_usb_op
	movb	$0, -278(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_deb_info
	movl	(%rbx), %edi
	movq	_PRODUCT_STRING_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movl	$20, %r9d
	callq	_vp7045_usb_op
	movb	$0, -278(%rbp)
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_deb_info
	movl	(%rbx), %edi
	movq	_FW_VERSION_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movl	$20, %r9d
	callq	_vp7045_usb_op
	movb	$0, -278(%rbp)
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_deb_info
	movl	(%rbx), %edi
	callq	_vp7045_fe_attach
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$288, %rsp                      ## imm = 0x120
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VENDOR_STRING_READ,4,2         ## @VENDOR_STRING_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"firmware says: %s "

	.comm	_PRODUCT_STRING_READ,4,2        ## @PRODUCT_STRING_READ
L_.str.1:                               ## @.str.1
	.asciz	"%s "

	.comm	_FW_VERSION_READ,4,2            ## @FW_VERSION_READ
L_.str.2:                               ## @.str.2
	.asciz	"v%s\n"

	.no_dead_strip	_vp7045_frontend_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp7045_frontend_attach
_vp7045_frontend_attach:                ; @vp7045_frontend_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #239]
	stp	q0, q0, [sp, #208]
	stp	q0, q0, [sp, #176]
	stp	q0, q0, [sp, #144]
	stp	q0, q0, [sp, #112]
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
	ldr	w0, [x0]
Lloh3:
	adrp	x8, _VENDOR_STRING_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VENDOR_STRING_READ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x4, sp
	mov	x2, #0
	mov	w3, #0
	mov	w5, #20
	mov	w6, #0
	bl	_vp7045_usb_op
	strb	wzr, [sp, #10]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, sp
	bl	_deb_info
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _PRODUCT_STRING_READ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PRODUCT_STRING_READ@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x4, sp
	mov	x2, #0
	mov	w3, #0
	mov	w5, #20
	mov	w6, #0
	bl	_vp7045_usb_op
	strb	wzr, [sp, #10]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, sp
	bl	_deb_info
	ldr	w0, [x19]
Lloh13:
	adrp	x8, _FW_VERSION_READ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FW_VERSION_READ@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x4, sp
	mov	x2, #0
	mov	w3, #0
	mov	w5, #20
	mov	w6, #0
	bl	_vp7045_usb_op
	strb	wzr, [sp, #10]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, sp
	bl	_deb_info
	ldr	w0, [x19]
	bl	_vp7045_fe_attach
	ldr	x8, [x19, #8]
	str	w0, [x8]
	ldur	x8, [x29, #-24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VENDOR_STRING_READ,4,2         ; @VENDOR_STRING_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"firmware says: %s "

	.comm	_PRODUCT_STRING_READ,4,2        ; @PRODUCT_STRING_READ
l_.str.1:                               ; @.str.1
	.asciz	"%s "

	.comm	_FW_VERSION_READ,4,2            ; @FW_VERSION_READ
l_.str.2:                               ; @.str.2
	.asciz	"v%s\n"

	.no_dead_strip	_vp7045_frontend_attach
.subsections_via_symbols
