	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jlj_write2
_jlj_write2:                            ## @jlj_write2
	.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, %r14
	movq	(%rdi), %rdi
	movl	$2, %edx
	callq	_memcpy
	movl	8(%r14), %ebx
	movl	%ebx, %edi
	movl	$3, %esi
	callq	_usb_sndbulkpipe
	movq	(%r14), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$2, %ecx
	xorl	%r8d, %r8d
	movl	$500, %r9d                      ## imm = 0x1F4
	callq	_usb_bulk_msg
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_err
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command write [%02x] error %d"

	.no_dead_strip	_jlj_write2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jlj_write2
_jlj_write2:                            ; @jlj_write2
	.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	x0, [x0]
	mov	w2, #2
	bl	_memcpy
	ldr	w20, [x19, #8]
	mov	x0, x20
	mov	w1, #3
	bl	_usb_sndbulkpipe
	mov	x1, x0
	ldr	x2, [x19]
	mov	x0, x20
	mov	w3, #2
	mov	x4, #0
	mov	w5, #500
	bl	_usb_bulk_msg
	mov	x20, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command write [%02x] error %d"

	.no_dead_strip	_jlj_write2
.subsections_via_symbols
