	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_vc_process_pending
_svc_vc_process_pending:                ## @svc_vc_process_pending
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	8(%rdi), %r15
	cmpl	$0, (%r15)
	je	LBB0_1
LBB0_8:
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.11:
	leaq	16(%r15), %r12
	movl	(%r15), %eax
	movq	_M_WAITOK@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	testl	%eax, %eax
	je	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movslq	%eax, %rsi
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movslq	%eax, %rsi
	cmpq	%rsi, (%rbx)
	jle	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_m_split
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, 8(%r15)
	movq	16(%r15), %rdi
	movq	%r12, %rax
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	callq	_m_last
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, (%rax)
	movl	(%r15), %eax
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	subl	(%rbx), %eax
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%eax, (%r15)
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	jne	LBB0_13
	jmp	LBB0_10
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_1:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.2:
	xorl	%eax, %eax
	movq	%rdi, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addq	(%rcx), %rax
	cmpq	$3, %rax
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
LBB0_5:
	cmpq	$3, %rax
	ja	LBB0_7
## %bb.6:
	movl	$4, %ecx
	subl	%eax, %ecx
	movl	%ecx, (%r14)
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_9:
	movl	(%r15), %eax
LBB0_10:
	movslq	%eax, %rdi
	movl	4(%r14), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	callq	_imin
	movl	$1, %edi
	movl	%eax, %esi
	callq	_imax
	jmp	LBB0_24
LBB0_23:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	movl	%eax, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	-44(%rbp), %rcx
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_m_copydata
	movl	-44(%rbp), %edi
	callq	_ntohl
	movl	%eax, -44(%rbp)
	movl	%eax, %ecx
	shrl	$31, %ecx
	movl	%ecx, 4(%r15)
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	%eax, (%r15)
	movq	8(%r15), %rdi
	movl	$4, %esi
	callq	_m_adj
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_svc_vc_process_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_vc_process_pending
_svc_vc_process_pending:                ; @svc_vc_process_pending
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldp	x20, x21, [x0]
	ldr	w8, [x21]
	cbz	w8, LBB0_14
LBB0_1:
	ldr	x19, [x21, #8]
	cbz	x19, LBB0_19
; %bb.2:
	mov	x22, x21
	ldr	w8, [x22], #16
Lloh0:
	adrp	x23, _M_WAITOK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _M_WAITOK@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	cbz	w8, LBB0_21
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x1, w8
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19]
	sxtw	x1, w8
	cmp	x9, x1
	b.le	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x23]
	mov	x0, x19
	bl	_m_split
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x0, [x21, #8]
	ldr	x8, [x21, #16]
	mov	x0, x22
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x8
	bl	_m_last
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x19, [x0]
	ldr	w8, [x21]
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x19]
	sub	w8, w8, w9
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	str	w8, [x21]
	ldr	x19, [x21, #8]
	cbnz	x19, LBB0_3
	b	LBB0_20
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, #0
	b	LBB0_8
LBB0_14:
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_1
; %bb.15:
	mov	x8, #0
	mov	x9, x0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldp	x10, x9, [x9]
	add	x8, x10, x8
	cmp	x8, #3
	ccmp	x9, #0, #4, ls
	b.ne	LBB0_16
; %bb.17:
	cmp	x8, #3
	b.hi	LBB0_24
; %bb.18:
	mov	w9, #4
	sub	w8, w9, w8
	str	w8, [x20]
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
	ldr	w8, [x21]
LBB0_20:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x0, w8
	ldr	w8, [x20, #4]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	bl	_imin
	mov	x1, x0
	mov	w0, #1
	bl	_imax
	b	LBB0_22
LBB0_21:
Lloh4:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
LBB0_22:
	str	w0, [x20]
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_24:
	add	x3, sp, #12
	mov	w1, #0
	mov	w2, #4
	bl	_m_copydata
	ldr	w0, [sp, #12]
	bl	_ntohl
	str	w0, [sp, #12]
	lsr	w8, w0, #31
	and	w9, w0, #0x7fffffff
	stp	w9, w8, [x21]
	ldr	x0, [x21, #8]
	mov	w1, #4
	bl	_m_adj
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_svc_vc_process_pending
.subsections_via_symbols
