	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function htc_process_target_rdy
_htc_process_target_rdy:                ## @htc_process_target_rdy
	.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
	movq	%rdi, %rbx
	movl	(%rsi), %edi
	callq	_be16_to_cpu
	movl	%eax, 16(%rbx)
	movq	8(%rbx), %rax
	movq	_ENDPOINT0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_HTC_CTRL_RSVD_SVC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%rax,%rcx,8)
	movq	_HTC_MAX_CONTROL_MESSAGE_LENGTH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rax,%rcx,8)
	leaq	4(%rbx), %rdi
	callq	_atomic_inc
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_complete                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENDPOINT0,8,3                  ## @ENDPOINT0
	.comm	_HTC_CTRL_RSVD_SVC,4,2          ## @HTC_CTRL_RSVD_SVC
	.comm	_HTC_MAX_CONTROL_MESSAGE_LENGTH,4,2 ## @HTC_MAX_CONTROL_MESSAGE_LENGTH
	.no_dead_strip	_htc_process_target_rdy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function htc_process_target_rdy
_htc_process_target_rdy:                ; @htc_process_target_rdy
	.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	w0, [x1]
	bl	_be16_to_cpu
	str	w0, [x19, #16]
Lloh0:
	adrp	x8, _ENDPOINT0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENDPOINT0@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _HTC_CTRL_RSVD_SVC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HTC_CTRL_RSVD_SVC@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	add	x8, x9, x8, lsl #3
	str	w10, [x8, #4]
Lloh6:
	adrp	x9, _HTC_MAX_CONTROL_MESSAGE_LENGTH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HTC_MAX_CONTROL_MESSAGE_LENGTH@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x8]
	add	x0, x19, #4
	bl	_atomic_inc
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_complete
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENDPOINT0,8,3                  ; @ENDPOINT0
	.comm	_HTC_CTRL_RSVD_SVC,4,2          ; @HTC_CTRL_RSVD_SVC
	.comm	_HTC_MAX_CONTROL_MESSAGE_LENGTH,4,2 ; @HTC_MAX_CONTROL_MESSAGE_LENGTH
	.no_dead_strip	_htc_process_target_rdy
.subsections_via_symbols
