	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function construct_request_response
_construct_request_response:            ## @construct_request_response
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	leal	-1(%rax), %r8d
	cmpl	$17, %eax
	cmovel	%eax, %r8d
	movl	%r8d, %edx
	andl	$3, %edx
	movl	%r8d, %ecx
	sarl	$2, %ecx
	movq	8(%rdi), %r10
	movslq	%ecx, %rcx
	cmpl	$1, %edx
	je	LBB0_5
## %bb.1:
	cmpl	$2, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$3, %edx
	jne	LBB0_7
## %bb.3:
	movl	%r8d, %edx
	andl	$-4, %edx
	leal	1(%rdx), %edi
	movslq	%edi, %rdi
	movl	(%r10,%rdi,4), %edi
	shll	$24, %edi
	orl	$2, %edx
	movslq	%edx, %rdx
	movl	(%r10,%rdx,4), %edx
	shll	$16, %edx
	orl	%edi, %edx
	movl	%r8d, %edi
	orl	$3, %edi
	movslq	%edi, %rdi
	movl	(%r10,%rdi,4), %edi
	shll	$8, %edi
	orl	%edx, %edi
	jmp	LBB0_6
LBB0_5:
	movl	%r8d, %edx
	andl	$-4, %edx
	orl	$1, %edx
	movslq	%edx, %rdx
	movl	(%r10,%rdx,4), %edi
	shll	$24, %edi
	jmp	LBB0_6
LBB0_4:
	movl	%r8d, %edx
	andl	$-4, %edx
	leal	1(%rdx), %edi
	movslq	%edi, %rdi
	movl	(%r10,%rdi,4), %r9d
	shll	$24, %r9d
	orl	$2, %edx
	movslq	%edx, %rdx
	movl	(%r10,%rdx,4), %edi
	shll	$16, %edi
	orl	%r9d, %edi
LBB0_6:
	movq	(%rsi), %rdx
	movl	%edi, (%rdx,%rcx,4)
LBB0_7:
	cmpl	$4, %r8d
	jl	LBB0_10
## %bb.8:
	movq	(%rsi), %r8
	leaq	1(%rcx), %rdi
	shll	$2, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rdi), %r9d
	leal	-3(%rcx), %eax
	cltq
	movl	(%r10,%rax,4), %eax
	shll	$24, %eax
	leal	-2(%rcx), %edx
	movslq	%edx, %rdx
	movl	(%r10,%rdx,4), %edx
	shll	$16, %edx
	orl	%eax, %edx
	leal	-1(%rcx), %eax
	cltq
	movl	(%r10,%rax,4), %eax
	shll	$8, %eax
	orl	%edx, %eax
	movslq	%ecx, %rcx
	orl	(%r10,%rcx,4), %eax
	movl	%eax, (%r8,%r9,4)
	decq	%rdi
	addl	$-4, %ecx
	cmpq	$1, %rdi
	jg	LBB0_9
LBB0_10:
	cmpl	$53, 8(%rsi)
	jne	LBB0_13
## %bb.11:
	movq	(%rsi), %rax
	movl	(%rax), %ecx
	testb	%cl, %cl
	je	LBB0_13
## %bb.12:
	andl	$-256, %ecx
	movl	%ecx, (%rax)
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_construct_request_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function construct_request_response
_construct_request_response:            ; @construct_request_response
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w9, w8, #1
	cmp	w8, #17
	csel	w10, w8, w9, eq
	and	w11, w10, #0x3
	asr	w9, w10, #2
	ldr	x8, [x0, #8]
	cmp	w11, #1
	b.eq	LBB0_4
; %bb.1:
	cmp	w11, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w11, #3
	b.ne	LBB0_7
; %bb.3:
	sxtw	x11, w10
	and	x11, x11, #0x3ffffffffffffffc
	add	x11, x8, x11, lsl #2
	ldp	w12, w11, [x11, #4]
	lsl	w11, w11, #16
	orr	w11, w11, w12, lsl #24
	sbfiz	x12, x10, #2, #32
	orr	x12, x12, #0xc
	ldr	w12, [x8, x12]
	orr	w11, w11, w12, lsl #8
	b	LBB0_6
LBB0_4:
	mov	x11, x10
	sxtw	x11, w11
	and	x11, x11, #0x3ffffffffffffffc
	add	x11, x8, x11, lsl #2
	ldr	w11, [x11, #4]
	lsl	w11, w11, #24
	b	LBB0_6
LBB0_5:
	mov	x11, x10
	sxtw	x11, w11
	and	x11, x11, #0xfffffffffffffffc
	add	x12, x8, x11, lsl #2
	ldr	w12, [x12, #4]
	orr	w11, w11, #0x2
	ldr	w11, [x8, w11, sxtw #2]
	lsl	w11, w11, #16
	orr	w11, w11, w12, lsl #24
LBB0_6:
	ldr	x12, [x1]
	str	w11, [x12, w9, sxtw #2]
LBB0_7:
	cmp	w10, #4
	b.lt	LBB0_10
; %bb.8:
	ldr	x10, [x1]
	sxtw	x11, w9
	add	x11, x11, #1
	lsl	w9, w9, #2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	w12, w9, #3
	ldr	w12, [x8, w12, sxtw #2]
	sub	w13, w11, #2
	sub	w14, w9, #2
	ldr	w14, [x8, w14, sxtw #2]
	lsl	w14, w14, #16
	orr	w12, w14, w12, lsl #24
	sub	w14, w9, #1
	ldr	w14, [x8, w14, sxtw #2]
	orr	w12, w12, w14, lsl #8
	ldr	w14, [x8, w9, sxtw #2]
	orr	w12, w12, w14
	str	w12, [x10, w13, uxtw #2]
	sub	x11, x11, #1
	sub	w9, w9, #4
	cmp	x11, #1
	b.gt	LBB0_9
LBB0_10:
	ldr	w8, [x1, #8]
	cmp	w8, #53
	b.ne	LBB0_13
; %bb.11:
	ldr	x8, [x1]
	ldr	w9, [x8]
	tst	w9, #0xff
	b.eq	LBB0_13
; %bb.12:
	and	w9, w9, #0xffffff00
	str	w9, [x8]
LBB0_13:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_construct_request_response
.subsections_via_symbols
