	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp2112_write_req
_cp2112_write_req:                      ## @cp2112_write_req
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$8, %r8d
	jb	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_3
LBB0_2:
	movl	%r8d, %ebx
	movq	_CP2112_DATA_WRITE_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	addl	%esi, %esi
	movl	%esi, (%rdi)
	leal	1(%rbx), %eax
	movl	%eax, 4(%rdi)
	movq	8(%rdi), %rdi
	movl	%edx, (%rdi)
	addq	$4, %rdi
	movq	%rcx, %rsi
	movl	%r8d, %edx
	callq	_memcpy
	addl	$4, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CP2112_DATA_WRITE_REQUEST,4,2  ## @CP2112_DATA_WRITE_REQUEST
	.no_dead_strip	_cp2112_write_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp2112_write_req
_cp2112_write_req:                      ; @cp2112_write_req
	.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
	cmp	w4, #8
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x19, x4
Lloh3:
	adrp	x8, _CP2112_DATA_WRITE_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CP2112_DATA_WRITE_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	lsl	w8, w1, #1
	add	w9, w4, #1
	stp	w8, w9, [x0]
	ldr	x0, [x0, #8]
	str	w2, [x0], #4
	mov	x1, x3
	mov	x2, x4
	bl	_memcpy
	add	w0, w19, #4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CP2112_DATA_WRITE_REQUEST,4,2  ; @CP2112_DATA_WRITE_REQUEST
	.no_dead_strip	_cp2112_write_req
.subsections_via_symbols
