	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_process_sent_chctl_flags   ## -- Begin function xpc_process_sent_chctl_flags
	.p2align	4, 0x90
_xpc_process_sent_chctl_flags:          ## @xpc_process_sent_chctl_flags
	.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	%rdi, %r15
	movq	_xpc_arch_ops@GOTPCREL(%rip), %rax
	callq	*8(%rax)
	cmpl	$0, (%r15)
	jle	LBB0_13
## %bb.1:
	movl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%r14, %r13
	addq	$4, %r13
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	%r12, %rdi
	leaq	-56(%rbp), %rsi
	callq	_xpc_process_disconnect
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	$8, %r14
	cmpq	%rax, %rbx
	jge	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %edx
	movq	_XPC_OPENCLOSE_CHCTL_FLAGS@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_xpc_process_openclose_chctl_flags
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%r13), %r12
	movl	(%r13,%rbx,8), %edi
	movq	_XPC_C_DISCONNECTING@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movq	_XPC_P_AS_DEACTIVATING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_XPC_C_CONNECTED@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_XPC_MSG_CHCTL_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx,%rbx,4)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	_xpc_arch_ops@GOTPCREL(%rip), %rax
	callq	*(%rax)
	jmp	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_XPC_C_OPENREQUEST@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_XPC_C_SETUP@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	callq	_DBUG_ON
	movq	%r12, %rdi
	callq	_xpc_connect_channel
	jmp	LBB0_12
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xpc_arch_ops,16,3              ## @xpc_arch_ops
	.comm	_XPC_OPENCLOSE_CHCTL_FLAGS,4,2  ## @XPC_OPENCLOSE_CHCTL_FLAGS
	.comm	_XPC_C_DISCONNECTING,4,2        ## @XPC_C_DISCONNECTING
	.comm	_XPC_P_AS_DEACTIVATING,8,3      ## @XPC_P_AS_DEACTIVATING
	.comm	_XPC_C_CONNECTED,4,2            ## @XPC_C_CONNECTED
	.comm	_XPC_C_OPENREQUEST,4,2          ## @XPC_C_OPENREQUEST
	.comm	_XPC_C_SETUP,4,2                ## @XPC_C_SETUP
	.comm	_XPC_MSG_CHCTL_FLAGS,4,2        ## @XPC_MSG_CHCTL_FLAGS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_process_sent_chctl_flags   ; -- Begin function xpc_process_sent_chctl_flags
	.p2align	2
_xpc_process_sent_chctl_flags:          ; @xpc_process_sent_chctl_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _xpc_arch_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xpc_arch_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8, #8]
	blr	x8
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x24, #0
	mov	x20, #0
Lloh3:
	adrp	x25, _XPC_OPENCLOSE_CHCTL_FLAGS@GOTPAGE
Lloh4:
	ldr	x25, [x25, _XPC_OPENCLOSE_CHCTL_FLAGS@GOTPAGEOFF]
Lloh5:
	adrp	x26, _XPC_C_DISCONNECTING@GOTPAGE
Lloh6:
	ldr	x26, [x26, _XPC_C_DISCONNECTING@GOTPAGEOFF]
Lloh7:
	adrp	x27, _XPC_P_AS_DEACTIVATING@GOTPAGE
Lloh8:
	ldr	x27, [x27, _XPC_P_AS_DEACTIVATING@GOTPAGEOFF]
Lloh9:
	adrp	x28, _XPC_C_CONNECTED@GOTPAGE
Lloh10:
	ldr	x28, [x28, _XPC_C_CONNECTED@GOTPAGEOFF]
	mov	w23, w0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, x24
	add	x22, x8, #4
	ldr	x1, [sp, #8]
	mov	x0, x22
	bl	_spin_lock_irqsave
	add	x1, sp, #8
	mov	x0, x21
	bl	_xpc_process_disconnect
	ldr	x1, [sp, #8]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	add	x24, x24, #8
	cmp	x20, x8
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x19, #16]
	ldr	w2, [x23, x20, lsl #2]
	ldr	w8, [x25]
	tst	w8, w2
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_xpc_process_openclose_chctl_flags
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x22, x24
	ldr	w8, [x22, x24]
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #8]
	ldr	x10, [x27]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, x20, lsl #2]
Lloh11:
	adrp	x9, _XPC_MSG_CHCTL_FLAGS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _XPC_MSG_CHCTL_FLAGS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh14:
	adrp	x8, _xpc_arch_ops@GOTPAGE
Lloh15:
	ldr	x8, [x8, _xpc_arch_ops@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh17:
	adrp	x9, _XPC_C_OPENREQUEST@GOTPAGE
Lloh18:
	ldr	x9, [x9, _XPC_C_OPENREQUEST@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh20:
	adrp	x9, _XPC_C_SETUP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _XPC_C_SETUP@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_DBUG_ON
	mov	x0, x21
	bl	_xpc_connect_channel
	b	LBB0_3
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_xpc_arch_ops,16,3              ; @xpc_arch_ops
	.comm	_XPC_OPENCLOSE_CHCTL_FLAGS,4,2  ; @XPC_OPENCLOSE_CHCTL_FLAGS
	.comm	_XPC_C_DISCONNECTING,4,2        ; @XPC_C_DISCONNECTING
	.comm	_XPC_P_AS_DEACTIVATING,8,3      ; @XPC_P_AS_DEACTIVATING
	.comm	_XPC_C_CONNECTED,4,2            ; @XPC_C_CONNECTED
	.comm	_XPC_C_OPENREQUEST,4,2          ; @XPC_C_OPENREQUEST
	.comm	_XPC_C_SETUP,4,2                ; @XPC_C_SETUP
	.comm	_XPC_MSG_CHCTL_FLAGS,4,2        ; @XPC_MSG_CHCTL_FLAGS
.subsections_via_symbols
