	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_notify_senders_sn2
_xpc_notify_senders_sn2:                ## @xpc_notify_senders_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	32(%rdi), %rbx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	cmpq	%rdx, %rbx
	jge	LBB0_9
## %bb.1:
	movq	%rdi, %r12
	leaq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, -80(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	testq	%rax, %rax
	jle	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rcx
	movq	24(%r12), %r13
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdx,%rdx,2), %r14
	movq	(%r13,%r14,8), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(,%r14,8), %rdi
	addq	%r13, %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_cmpxchg
	cmpq	%r15, %rax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movq	_XPC_N_CALL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	setne	%dil
	callq	_DBUG_ON
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_dec
	cmpq	$0, 16(%r13,%r14,8)
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	16(,%r14,8), %rax
	addq	%r13, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_xpc_chan@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r12), %r9d
	movl	12(%r12), %r8d
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_dev_dbg
	movl	8(%r12), %edx
	movl	12(%r12), %esi
	movl	8(%r13,%r14,8), %ecx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
	movq	_xpc_chan@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r12), %r9d
	movl	12(%r12), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_dev_dbg
	jmp	LBB0_8
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XPC_N_CALL,8,3                 ## @XPC_N_CALL
	.comm	_xpc_chan,4,2                   ## @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"notify->func() called, notify=0x%p msg_number=%lld partid=%d channel=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"notify->func() returned, notify=0x%p msg_number=%lld partid=%d channel=%d\n"

	.no_dead_strip	_xpc_notify_senders_sn2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_notify_senders_sn2
_xpc_notify_senders_sn2:                ; @xpc_notify_senders_sn2
	.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
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x22, [x0, #32]
	cmp	x22, x2
	b.ge	LBB0_8
; %bb.1:
	mov	x19, x2
	mov	x21, x0
	add	x23, x0, #16
	mov	w28, #24
Lloh0:
	adrp	x20, _xpc_chan@GOTPAGE
Lloh1:
	ldr	x20, [x20, _xpc_chan@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	cmp	x19, x22
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_atomic_read
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x21, #24]
	ldr	x8, [x21]
	sdiv	x9, x22, x8
	msub	x25, x9, x8, x22
	madd	x26, x25, x28, x24
	ldr	x27, [x26]
	cbz	x27, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	mov	x1, x27
	mov	w2, #0
	bl	_cmpxchg
	cmp	x0, x27
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh2:
	adrp	x8, _XPC_N_CALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XPC_N_CALL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x27, x8
	cset	w0, ne
	bl	_DBUG_ON
	mov	x0, x23
	bl	_atomic_dec
	madd	x27, x25, x28, x24
	ldr	x8, [x27, #16]!
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20]
	ldp	w5, w4, [x21, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x26
	mov	x3, x22
	bl	_dev_dbg
	ldr	x8, [x27]
	ldp	w2, w1, [x21, #8]
	madd	x9, x25, x28, x24
	ldr	w3, [x9, #8]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	blr	x8
	ldr	w0, [x20]
	ldp	w5, w4, [x21, #8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x26
	mov	x3, x22
	bl	_dev_dbg
	b	LBB0_2
LBB0_8:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XPC_N_CALL,8,3                 ; @XPC_N_CALL
	.comm	_xpc_chan,4,2                   ; @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"notify->func() called, notify=0x%p msg_number=%lld partid=%d channel=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"notify->func() returned, notify=0x%p msg_number=%lld partid=%d channel=%d\n"

	.no_dead_strip	_xpc_notify_senders_sn2
.subsections_via_symbols
