	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VSwitchReqInd
_VSwitchReqInd:                         ## @VSwitchReqInd
	.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
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, 44(%rdi)
	je	LBB0_28
## %bb.2:
	cmpl	$0, 40(%r14)
	je	LBB0_28
## %bb.3:
	movq	32(%r14), %rax
	movq	_NCR_FACILITY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
## %bb.4:
	movq	_MAX_MULTI_IE@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_28
## %bb.5:
	movq	%rdx, %r13
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	jmp	LBB0_6
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, (%r14)
	movl	$2, 36(%rdx)
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	40(%rdx), %eax
	movl	%eax, 4(%r14)
	movl	44(%rdx), %eax
	movl	%eax, 8(%r14)
	movq	_VSWITCHIE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdx)
	movq	_VSWITCH_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	$0, 8(%rdi)
	movq	_VSWITCH_REQ_PEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_ESC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_add_p
	movq	16(%r14), %rdi
	movq	_VSWITCH_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_sig_req
	movq	16(%r14), %rdi
	callq	_send_req
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r13,%rbx,8), %rax
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$0, (%rax)
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	(%r12), %rbx
	jae	LBB0_28
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_27
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$7, %ecx
	jl	LBB0_26
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%rax), %esi
	movq	%r15, %rdi
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	(%r13,%rbx,8), %rdx
	cmpl	$129, 16(%rdx)
	movq	16(%r14), %rdi
	jne	LBB0_21
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_S_ECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, 24(%r14)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%eax, 12(%rdi)
	jne	LBB0_25
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$11, (%rdx)
	jne	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$3, 32(%rdx)
	jne	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%rdx), %eax
	movq	_VSWITCH_IND@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$1, 36(%rdx)
	je	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_VSWITCH_REQ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$3, 36(%rdx)
	jne	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$3, (%r14)
	jmp	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$3, (%r14)
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$3, (%rdi)
	je	LBB0_24
	jmp	LBB0_25
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NCR_FACILITY,8,3               ## @NCR_FACILITY
	.comm	_MAX_MULTI_IE,8,3               ## @MAX_MULTI_IE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VSwitchReqInd(%d)"

	.comm	_S_ECT,4,2                      ## @S_ECT
	.comm	_VSWITCH_IND,4,2                ## @VSWITCH_IND
	.comm	_VSWITCH_REQ,4,2                ## @VSWITCH_REQ
	.comm	_VSWITCHIE,4,2                  ## @VSWITCHIE
	.comm	_VSWITCH_REQ_PEND,4,2           ## @VSWITCH_REQ_PEND
	.comm	_ESC,4,2                        ## @ESC
	.no_dead_strip	_VSwitchReqInd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VSwitchReqInd
_VSwitchReqInd:                         ; @VSwitchReqInd
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0, #44]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w8, [x20, #40]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x20, #32]
Lloh0:
	adrp	x9, _NCR_FACILITY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NCR_FACILITY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x22, _MAX_MULTI_IE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_MULTI_IE@GOTPAGEOFF]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x10, #0, #4, ne
	b.ne	LBB0_5
LBB0_4:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x19, x2
	mov	x23, #0
Lloh5:
	adrp	x25, _S_ECT@GOTPAGE
Lloh6:
	ldr	x25, [x25, _S_ECT@GOTPAGEOFF]
Lloh7:
	adrp	x26, _VSWITCH_IND@GOTPAGE
Lloh8:
	ldr	x26, [x26, _VSWITCH_IND@GOTPAGEOFF]
Lloh9:
	adrp	x24, _VSWITCH_REQ@GOTPAGE
Lloh10:
	ldr	x24, [x24, _VSWITCH_REQ@GOTPAGEOFF]
Lloh11:
	adrp	x27, _VSWITCH_REQ_PEND@GOTPAGE
Lloh12:
	ldr	x27, [x27, _VSWITCH_REQ_PEND@GOTPAGEOFF]
Lloh13:
	adrp	x21, l_.str@PAGE
Lloh14:
	add	x21, x21, l_.str@PAGEOFF
Lloh15:
	adrp	x28, _ESC@GOTPAGE
Lloh16:
	ldr	x28, [x28, _ESC@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_12 Depth=1
	mov	w8, #1
	str	w8, [x20]
	mov	w8, #2
	str	w8, [x2, #36]
LBB0_7:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x2, #40]
	str	w8, [x20, #4]
	ldr	w8, [x2, #44]
	str	w8, [x20, #8]
Lloh17:
	adrp	x8, _VSWITCHIE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VSWITCHIE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x24]
	stp	w8, w9, [x2, #4]
	ldr	w8, [x27]
	stp	w8, wzr, [x0, #4]
LBB0_8:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x28]
	bl	_add_p
	ldr	x0, [x20, #16]
	ldr	w1, [x24]
	mov	w2, #0
	bl	_sig_req
	ldr	x0, [x20, #16]
	bl	_send_req
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, x23, lsl #3]
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	str	wzr, [x8]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	ldr	x8, [x22]
	cmp	x23, x8
	b.hs	LBB0_4
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, x23, lsl #3]
	ldr	w9, [x8]
	cbz	w9, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w9, #7
	b.lt	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x8, #16]
	mov	x0, x21
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	ldr	x2, [x19, x23, lsl #3]
	ldr	w8, [x2, #16]
	ldr	x0, [x20, #16]
	cmp	w8, #129
	b.ne	LBB0_25
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	x0, LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x20, #24]
	ldr	w8, [x25]
	cmp	w9, w8
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x0, #12]
	cmp	w9, w8
	b.ne	LBB0_9
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x2]
	cmp	w8, #11
	b.ne	LBB0_9
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x2, #32]
	cmp	w8, #3
	b.ne	LBB0_9
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x2, #8]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x2, #36]
	cmp	w9, #1
	b.eq	LBB0_6
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.23:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x2, #36]
	cmp	w8, #3
	b.ne	LBB0_9
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=1
	str	w8, [x20]
	b	LBB0_7
LBB0_25:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	x0, LBB0_9
; %bb.26:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x20]
	cmp	w8, #3
	b.ne	LBB0_9
; %bb.27:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x0]
	cmp	w8, #3
	b.eq	LBB0_8
	b	LBB0_9
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NCR_FACILITY,8,3               ; @NCR_FACILITY
	.comm	_MAX_MULTI_IE,8,3               ; @MAX_MULTI_IE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VSwitchReqInd(%d)"

	.comm	_S_ECT,4,2                      ; @S_ECT
	.comm	_VSWITCH_IND,4,2                ; @VSWITCH_IND
	.comm	_VSWITCH_REQ,4,2                ; @VSWITCH_REQ
	.comm	_VSWITCHIE,4,2                  ; @VSWITCHIE
	.comm	_VSWITCH_REQ_PEND,4,2           ; @VSWITCH_REQ_PEND
	.comm	_ESC,4,2                        ; @ESC
	.no_dead_strip	_VSwitchReqInd
.subsections_via_symbols
