	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_request
_process_request:                       ## @process_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PROCESS_REQUEST_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ARGV_ARRAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_PACKET_READ_CHOMP_NEWLINE@GOTPCREL(%rip), %rax
	movq	_PACKET_READ_GENTLE_ON_EOF@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	orl	(%rax), %r8d
	movq	$0, -64(%rbp)
	movq	_PACKET_READ_DIE_ON_ERR_PACKET@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_packet_reader_init
	movq	%rbx, %rdi
	callq	_packet_reader_peek
	movl	$1, %r14d
	cmpl	$130, %eax
	je	LBB0_18
## %bb.1:
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, -56(%rbp)
	movq	_PROCESS_REQUEST_DONE@GOTPCREL(%rip), %r13
	cmpl	(%r13), %r12d
	je	LBB0_16
## %bb.2:
	leaq	-56(%rbp), %rbx
	leaq	LJTI0_0(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_packet_reader_read
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %r12d
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	(%r13), %r12d
	je	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_packet_reader_peek
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -48(%rbp)
	jne	LBB0_13
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_BUG
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %edi
	leaq	-64(%rbp), %rsi
	callq	_is_command
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %edi
	callq	_is_valid_capability
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %esi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_packet_reader_read
	jmp	LBB0_14
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_10
LBB0_15:
	movq	-64(%rbp), %rcx
	testq	%rcx, %rcx
	jne	LBB0_17
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	movq	-64(%rbp), %rcx
LBB0_17:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rbx
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rsi
	callq	*(%rcx)
	movq	%rbx, %rdi
	callq	_argv_array_clear
	xorl	%r14d, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_PROCESS_REQUEST_KEYS,4,2       ## @PROCESS_REQUEST_KEYS
	.comm	_ARGV_ARRAY_INIT,4,2            ## @ARGV_ARRAY_INIT
	.comm	_PACKET_READ_CHOMP_NEWLINE,4,2  ## @PACKET_READ_CHOMP_NEWLINE
	.comm	_PACKET_READ_GENTLE_ON_EOF,4,2  ## @PACKET_READ_GENTLE_ON_EOF
	.comm	_PACKET_READ_DIE_ON_ERR_PACKET,4,2 ## @PACKET_READ_DIE_ON_ERR_PACKET
	.comm	_PROCESS_REQUEST_DONE,4,2       ## @PROCESS_REQUEST_DONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Should have already died when seeing EOF"

L_.str.1:                               ## @.str.1
	.asciz	"unknown capability '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"no command requested"

	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_process_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_request
_process_request:                       ; @process_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _PROCESS_REQUEST_KEYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROCESS_REQUEST_KEYS@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _ARGV_ARRAY_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARGV_ARRAY_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	str	xzr, [sp, #8]
Lloh6:
	adrp	x8, _PACKET_READ_CHOMP_NEWLINE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PACKET_READ_CHOMP_NEWLINE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x19, _PACKET_READ_GENTLE_ON_EOF@GOTPAGE
Lloh10:
	ldr	x19, [x19, _PACKET_READ_GENTLE_ON_EOF@GOTPAGEOFF]
	ldr	w9, [x19]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _PACKET_READ_DIE_ON_ERR_PACKET@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PACKET_READ_DIE_ON_ERR_PACKET@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w4, w8, w9
	add	x0, sp, #24
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	bl	_packet_reader_init
	add	x0, sp, #24
	bl	_packet_reader_peek
	cmp	w0, #130
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_19
LBB0_2:
	ldr	w8, [x19]
	ldr	w9, [sp, #24]
	bic	w8, w9, w8
	str	w8, [sp, #24]
Lloh14:
	adrp	x22, _PROCESS_REQUEST_DONE@GOTPAGE
Lloh15:
	ldr	x22, [x22, _PROCESS_REQUEST_DONE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w21, w8
	b.eq	LBB0_17
; %bb.3:
Lloh16:
	adrp	x23, lJTI0_0@PAGE
Lloh17:
	add	x23, x23, lJTI0_0@PAGEOFF
Lloh18:
	adrp	x19, l_.str.1@PAGE
Lloh19:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh20:
	adrp	x20, l_.str@PAGE
Lloh21:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #24
	bl	_packet_reader_read
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w21, [x22]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x22]
	cmp	w21, w8
	b.eq	LBB0_16
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	bl	_packet_reader_peek
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x23, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #16]
	cbnz	w8, LBB0_5
	b	LBB0_1
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_BUG
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [sp, #28]
	add	x1, sp, #8
	bl	_is_command
	cbnz	w0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [sp, #28]
	bl	_is_valid_capability
	cbz	w0, LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [sp, #28]
	add	x0, sp, #16
	bl	_argv_array_push
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #24
	bl	_packet_reader_read
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #28]
	str	x8, [sp]
	mov	x0, x19
	bl	_die
	b	LBB0_14
LBB0_16:
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_18
LBB0_17:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
	ldr	x8, [sp, #8]
LBB0_18:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _the_repository@GOTPAGE
Lloh25:
	ldr	x9, [x9, _the_repository@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x9]
	add	x1, sp, #16
	add	x2, sp, #24
	blr	x8
	add	x0, sp, #16
	bl	_argv_array_clear
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.comm	_PROCESS_REQUEST_KEYS,4,2       ; @PROCESS_REQUEST_KEYS
	.comm	_ARGV_ARRAY_INIT,4,2            ; @ARGV_ARRAY_INIT
	.comm	_PACKET_READ_CHOMP_NEWLINE,4,2  ; @PACKET_READ_CHOMP_NEWLINE
	.comm	_PACKET_READ_GENTLE_ON_EOF,4,2  ; @PACKET_READ_GENTLE_ON_EOF
	.comm	_PACKET_READ_DIE_ON_ERR_PACKET,4,2 ; @PACKET_READ_DIE_ON_ERR_PACKET
	.comm	_PROCESS_REQUEST_DONE,4,2       ; @PROCESS_REQUEST_DONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Should have already died when seeing EOF"

l_.str.1:                               ; @.str.1
	.asciz	"unknown capability '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"no command requested"

	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_process_request
.subsections_via_symbols
