	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_encode_path_challenge_frame ## -- Begin function quicly_encode_path_challenge_frame
	.p2align	4, 0x90
_quicly_encode_path_challenge_frame:    ## @quicly_encode_path_challenge_frame
	.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, %rbx
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_QUICLY_FRAME_TYPE_PATH_CHALLENGE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_QUICLY_FRAME_TYPE_PATH_RESPONSE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	leaq	4(%rbx), %rdi
	movl	%eax, (%rbx)
	movq	_QUICLY_PATH_CHALLENGE_DATA_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movslq	(%r14), %rax
	leaq	(%rbx,%rax,4), %rax
	addq	$4, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QUICLY_FRAME_TYPE_PATH_RESPONSE,4,2 ## @QUICLY_FRAME_TYPE_PATH_RESPONSE
	.comm	_QUICLY_FRAME_TYPE_PATH_CHALLENGE,4,2 ## @QUICLY_FRAME_TYPE_PATH_CHALLENGE
	.comm	_QUICLY_PATH_CHALLENGE_DATA_LEN,4,2 ## @QUICLY_PATH_CHALLENGE_DATA_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_encode_path_challenge_frame ; -- Begin function quicly_encode_path_challenge_frame
	.p2align	2
_quicly_encode_path_challenge_frame:    ; @quicly_encode_path_challenge_frame
	.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	x8, x2
	mov	x19, x0
Lloh0:
	adrp	x9, _QUICLY_FRAME_TYPE_PATH_RESPONSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QUICLY_FRAME_TYPE_PATH_RESPONSE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _QUICLY_FRAME_TYPE_PATH_CHALLENGE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _QUICLY_FRAME_TYPE_PATH_CHALLENGE@GOTPAGEOFF]
	cmp	w1, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	str	w9, [x19], #4
Lloh4:
	adrp	x20, _QUICLY_PATH_CHALLENGE_DATA_LEN@GOTPAGE
Lloh5:
	ldr	x20, [x20, _QUICLY_PATH_CHALLENGE_DATA_LEN@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	x1, x8
	bl	_memcpy
	ldrsw	x8, [x20]
	add	x0, x19, x8, lsl #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_QUICLY_FRAME_TYPE_PATH_RESPONSE,4,2 ; @QUICLY_FRAME_TYPE_PATH_RESPONSE
	.comm	_QUICLY_FRAME_TYPE_PATH_CHALLENGE,4,2 ; @QUICLY_FRAME_TYPE_PATH_CHALLENGE
	.comm	_QUICLY_PATH_CHALLENGE_DATA_LEN,4,2 ; @QUICLY_PATH_CHALLENGE_DATA_LEN
.subsections_via_symbols
