	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alauda_reset
_alauda_reset:                          ## @alauda_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_ALAUDA_BULK_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_ALAUDA_BULK_RESET_MEDIA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -56(%rbp)
	movq	$0, -40(%rbp)
	movl	12(%rdi), %eax
	movl	%eax, -32(%rbp)
	callq	_mutex_lock
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-64(%rbp), %rdx
	movl	$9, %ecx
	xorl	%r8d, %r8d
	callq	_usb_bulk_msg
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ALAUDA_BULK_CMD,4,2            ## @ALAUDA_BULK_CMD
	.comm	_ALAUDA_BULK_RESET_MEDIA,4,2    ## @ALAUDA_BULK_RESET_MEDIA
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_alauda_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alauda_reset
_alauda_reset:                          ; @alauda_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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]
Lloh3:
	adrp	x9, _ALAUDA_BULK_CMD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ALAUDA_BULK_CMD@GOTPAGEOFF]
	stur	x8, [x29, #-24]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ALAUDA_BULK_RESET_MEDIA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ALAUDA_BULK_RESET_MEDIA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #4]
	stur	xzr, [sp, #28]
	stur	xzr, [sp, #12]
	stur	xzr, [sp, #20]
	ldr	w8, [x0, #12]
	str	w8, [sp, #36]
	bl	_mutex_lock
	ldp	w1, w0, [x19, #4]
Lloh9:
	adrp	x8, _HZ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	add	x2, sp, #4
	mov	w3, #9
	mov	x4, #0
	bl	_usb_bulk_msg
	mov	x0, x19
	bl	_mutex_unlock
	ldur	x8, [x29, #-24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ALAUDA_BULK_CMD,4,2            ; @ALAUDA_BULK_CMD
	.comm	_ALAUDA_BULK_RESET_MEDIA,4,2    ; @ALAUDA_BULK_RESET_MEDIA
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_alauda_reset
.subsections_via_symbols
