	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_send_msgs_sn2
_xpc_send_msgs_sn2:                     ## @xpc_send_msgs_sn2
	.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
	movl	%esi, %r12d
	movq	%rdi, %r14
	leal	1(%r12), %ebx
	movb	$1, %r13b
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	32(%r14), %ecx
	cmpl	%ecx, %ebx
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r14), %r8
	movl	(%r14), %r9d
	movslq	4(%r14), %rsi
	movq	_XPC_M_SN2_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %eax
	cltd
	idivl	%r9d
	movslq	%edx, %rax
	imulq	%rsi, %rax
	testl	%edi, (%r8,%rax)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	incl	%ebx
	cmpl	%ebx, %ecx
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %ebx
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r12d, %ebx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r14), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_cmpxchg_rel
	cmpl	%r12d, %eax
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_xpc_chan@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %r8d
	movl	12(%r14), %ecx
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_dev_dbg
	xorl	%r13d, %r13d
	movl	%ebx, %r12d
	jmp	LBB0_1
LBB0_8:
	movq	16(%r14), %rax
	xorl	%edi, %edi
	cmpl	%r12d, (%rax)
	setl	%dil
	callq	_DBUG_ON
LBB0_9:
	testb	$1, %r13b
	je	LBB0_12
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xpc_send_chctl_msgrequest_sn2  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XPC_M_SN2_READY,4,2            ## @XPC_M_SN2_READY
	.comm	_xpc_chan,4,2                   ## @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"local_GP->put changed to %lld, partid=%d, channel=%d\n"

	.no_dead_strip	_xpc_send_msgs_sn2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_send_msgs_sn2
_xpc_send_msgs_sn2:                     ; @xpc_send_msgs_sn2
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	add	w20, w1, #1
	mov	w23, #1
Lloh0:
	adrp	x24, _xpc_chan@GOTPAGE
Lloh1:
	ldr	x24, [x24, _xpc_chan@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x25, _XPC_M_SN2_READY@GOTPAGE
Lloh5:
	ldr	x25, [x25, _XPC_M_SN2_READY@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldr	w8, [x19, #32]
	cmp	w20, w8
	b.eq	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x19, #24]
	ldp	w10, w11, [x19]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	ldr	w12, [x25]
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sdiv	w13, w20, w10
	msub	w13, w13, w10, w20
	sxtw	x13, w13
	mul	x13, x11, x13
	ldr	w13, [x9, x13]
	tst	w12, w13
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	add	w20, w20, #1
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x20, x8
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	w20, w22
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x19, #16]
	mov	x1, x22
	mov	x2, x20
	bl	_cmpxchg_rel
	cmp	w0, w22
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x24]
	ldp	w4, w3, [x19, #8]
	mov	x1, x21
	mov	x2, x20
	bl	_dev_dbg
	mov	w23, #0
	mov	x22, x20
	b	LBB0_1
LBB0_9:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	cmp	w8, w22
	cset	w0, lt
	bl	_DBUG_ON
LBB0_10:
	tbz	w23, #0, LBB0_12
; %bb.11:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_xpc_send_chctl_msgrequest_sn2
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XPC_M_SN2_READY,4,2            ; @XPC_M_SN2_READY
	.comm	_xpc_chan,4,2                   ; @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"local_GP->put changed to %lld, partid=%d, channel=%d\n"

	.no_dead_strip	_xpc_send_msgs_sn2
.subsections_via_symbols
