	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_process_connect
_xpc_process_connect:                   ## @xpc_process_connect
	.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	%rsi, %r14
	movq	%rdi, %r15
	leaq	12(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_lockdep_assert_held
	movl	(%r15), %eax
	movq	_XPC_C_OPENREQUEST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.1:
	movq	_XPC_C_ROPENREQUEST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.2:
	movq	_XPC_C_CONNECTING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %eax
	sete	%dil
	callq	_DBUG_ON
	movl	(%r15), %eax
	movq	_XPC_C_SETUP@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_3
LBB0_7:
	movq	_XPC_C_OPENREPLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_9
## %bb.8:
	orl	%eax, %ecx
	movl	%ecx, (%r15)
	movq	_xpc_arch_ops@GOTPCREL(%rip), %rax
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	*16(%rax)
	movl	(%r15), %eax
LBB0_9:
	movq	_XPC_C_ROPENREPLY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.10:
	movq	_XPC_C_OPENCOMPLETE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.11:
	movq	_XPC_C_CONNECTED@GOTPCREL(%rip), %rdx
	orl	%eax, %ecx
	orl	(%rdx), %ecx
	movl	%ecx, (%r15)
	movq	_xpc_arch_ops@GOTPCREL(%rip), %rax
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	*8(%rax)
	movl	(%r15), %eax
LBB0_12:
	movq	_XPC_C_ROPENCOMPLETE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movq	_xpc_chan@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r15), %ecx
	movl	8(%r15), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	_XPC_C_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%r13), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	jmp	LBB0_14
LBB0_3:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_xpc_arch_ops@GOTPCREL(%rip), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	movl	%eax, %r12d
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_xpSuccess@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_4
## %bb.5:
	movl	(%r15), %eax
	orl	(%r13), %eax
	movl	%eax, (%r15)
	jmp	LBB0_6
LBB0_4:
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_XPC_DISCONNECT_CHANNEL
	movl	(%r15), %eax
LBB0_6:
	movq	_XPC_C_DISCONNECTING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XPC_C_OPENREQUEST,4,2          ## @XPC_C_OPENREQUEST
	.comm	_XPC_C_ROPENREQUEST,4,2         ## @XPC_C_ROPENREQUEST
	.comm	_XPC_C_CONNECTING,4,2           ## @XPC_C_CONNECTING
	.comm	_XPC_C_SETUP,4,2                ## @XPC_C_SETUP
	.comm	_xpc_arch_ops,24,3              ## @xpc_arch_ops
	.comm	_xpSuccess,4,2                  ## @xpSuccess
	.comm	_XPC_C_DISCONNECTING,4,2        ## @XPC_C_DISCONNECTING
	.comm	_XPC_C_OPENREPLY,4,2            ## @XPC_C_OPENREPLY
	.comm	_XPC_C_ROPENREPLY,4,2           ## @XPC_C_ROPENREPLY
	.comm	_XPC_C_OPENCOMPLETE,4,2         ## @XPC_C_OPENCOMPLETE
	.comm	_XPC_C_CONNECTED,4,2            ## @XPC_C_CONNECTED
	.comm	_XPC_C_ROPENCOMPLETE,4,2        ## @XPC_C_ROPENCOMPLETE
	.comm	_xpc_chan,4,2                   ## @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"channel %d to partition %d connected\n"

	.no_dead_strip	_xpc_process_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_process_connect
_xpc_process_connect:                   ; @xpc_process_connect
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	add	x21, x0, #12
	mov	x0, x21
	bl	_lockdep_assert_held
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _XPC_C_OPENREQUEST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XPC_C_OPENREQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.1:
Lloh3:
	adrp	x9, _XPC_C_ROPENREQUEST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XPC_C_ROPENREQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.2:
Lloh6:
	adrp	x9, _XPC_C_CONNECTING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XPC_C_CONNECTING@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_DBUG_ON
	ldr	w8, [x19]
Lloh9:
	adrp	x23, _XPC_C_SETUP@GOTPAGE
Lloh10:
	ldr	x23, [x23, _XPC_C_SETUP@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_10
LBB0_3:
Lloh11:
	adrp	x9, _XPC_C_OPENREPLY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _XPC_C_OPENREPLY@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
	orr	w8, w9, w8
	str	w8, [x19]
Lloh14:
	adrp	x8, _xpc_arch_ops@GOTPAGE
Lloh15:
	ldr	x8, [x8, _xpc_arch_ops@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8, #16]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	w8, [x19]
LBB0_5:
Lloh17:
	adrp	x9, _XPC_C_ROPENREPLY@GOTPAGE
Lloh18:
	ldr	x9, [x9, _XPC_C_ROPENREPLY@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.6:
Lloh20:
	adrp	x9, _XPC_C_OPENCOMPLETE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _XPC_C_OPENCOMPLETE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x21, _XPC_C_CONNECTED@GOTPAGE
Lloh24:
	ldr	x21, [x21, _XPC_C_CONNECTED@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:
	ldr	w10, [x21]
	orr	w8, w9, w8
	orr	w8, w8, w10
	str	w8, [x19]
Lloh25:
	adrp	x8, _xpc_arch_ops@GOTPAGE
Lloh26:
	ldr	x8, [x8, _xpc_arch_ops@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	w8, [x19]
LBB0_8:
Lloh28:
	adrp	x9, _XPC_C_ROPENCOMPLETE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _XPC_C_ROPENCOMPLETE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.9:
Lloh31:
	adrp	x8, _xpc_chan@GOTPAGE
Lloh32:
	ldr	x8, [x8, _xpc_chan@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldp	w3, w2, [x19, #4]
Lloh34:
	adrp	x1, l_.str@PAGE
Lloh35:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w8, [x21]
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_14
LBB0_10:
	ldr	x1, [x20]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh36:
	adrp	x8, _xpc_arch_ops@GOTPAGE
Lloh37:
	ldr	x8, [x8, _xpc_arch_ops@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	x22, x0
	ldr	x1, [x20]
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh39:
	adrp	x8, _xpSuccess@GOTPAGE
Lloh40:
	ldr	x8, [x8, _xpSuccess@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_12
; %bb.11:
	ldr	w8, [x23]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_XPC_DISCONNECT_CHANNEL
	ldr	w8, [x19]
LBB0_13:
Lloh42:
	adrp	x9, _XPC_C_DISCONNECTING@GOTPAGE
Lloh43:
	ldr	x9, [x9, _XPC_C_DISCONNECTING@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_XPC_C_OPENREQUEST,4,2          ; @XPC_C_OPENREQUEST
	.comm	_XPC_C_ROPENREQUEST,4,2         ; @XPC_C_ROPENREQUEST
	.comm	_XPC_C_CONNECTING,4,2           ; @XPC_C_CONNECTING
	.comm	_XPC_C_SETUP,4,2                ; @XPC_C_SETUP
	.comm	_xpc_arch_ops,24,3              ; @xpc_arch_ops
	.comm	_xpSuccess,4,2                  ; @xpSuccess
	.comm	_XPC_C_DISCONNECTING,4,2        ; @XPC_C_DISCONNECTING
	.comm	_XPC_C_OPENREPLY,4,2            ; @XPC_C_OPENREPLY
	.comm	_XPC_C_ROPENREPLY,4,2           ; @XPC_C_ROPENREPLY
	.comm	_XPC_C_OPENCOMPLETE,4,2         ; @XPC_C_OPENCOMPLETE
	.comm	_XPC_C_CONNECTED,4,2            ; @XPC_C_CONNECTED
	.comm	_XPC_C_ROPENCOMPLETE,4,2        ; @XPC_C_ROPENCOMPLETE
	.comm	_xpc_chan,4,2                   ; @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"channel %d to partition %d connected\n"

	.no_dead_strip	_xpc_process_connect
.subsections_via_symbols
