	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_handle_notify_mq_msg_uv
_xpc_handle_notify_mq_msg_uv:           ## @xpc_handle_notify_mq_msg_uv
	.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
	movq	%rsi, %r15
	movq	%rdi, %r13
	movslq	(%rsi), %rbx
	xorl	%edi, %edi
	cmpl	(%r13), %ebx
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_xpc_part@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_XPC_PARTID
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dev_err
	movq	_xpc_activate_IRQ_rcvd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, 16(%r13)
	jne	LBB0_3
## %bb.2:
	movq	_xpc_activate_IRQ_rcvd@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_3:
	movq	_XPC_P_ASR_DEACTIVATE_UV@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r13)
	movq	_xpBadChannelNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movq	_xpc_activate_IRQ_rcvd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movq	_xpc_activate_IRQ_wq@GOTPCREL(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wake_up_interruptible          ## TAILCALL
LBB0_4:
	movq	8(%r13), %r12
	leaq	(%rbx,%rbx,4), %r14
	leaq	(%r12,%r14,8), %rbx
	movq	%rbx, %rdi
	callq	_xpc_msgqueue_ref
	movq	_XPC_C_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12,%r14,8)
	je	LBB0_11
## %bb.5:
	cmpq	$0, 8(%r15)
	je	LBB0_6
## %bb.7:
	leaq	(%r12,%r14,8), %rax
	addq	$24, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	32(%r12,%r14,8), %rsi
	movl	16(%r15), %eax
	cltd
	idivl	4(%r12,%r14,8)
	movslq	8(%r12,%r14,8), %rax
	movslq	%edx, %rcx
	imulq	%rax, %rcx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rcx,2), %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rbx,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpq	$0, 8(%rsi,%rbx,8)
	setne	%dil
	callq	_BUG_ON
	movq	8(%r15), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,8), %rsi
	addq	$20, %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_xpc_put_fifo_entry_uv
	movq	_XPC_C_CONNECTEDCALLOUT_MADE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.8:
	leaq	(%r12,%r14,8), %rdi
	addq	$20, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	jle	LBB0_10
## %bb.9:
	leaq	(%r12,%r14,8), %rdi
	addq	$16, %rdi
	movl	$1, %esi
	callq	_wake_up_nr
	jmp	LBB0_11
LBB0_6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_xpc_handle_notify_mq_ack_uv
	jmp	LBB0_11
LBB0_10:
	movl	12(%r12,%r14,8), %esi
	movq	%r13, %rdi
	callq	_xpc_send_chctl_local_msgrequest_uv
LBB0_11:
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xpc_msgqueue_deref             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_xpc_part,4,2                   ## @xpc_part
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xpc_handle_notify_IRQ_uv() received invalid channel number=0x%x in message from partid=%d\n"

	.comm	_xpc_activate_IRQ_rcvd_lock,4,2 ## @xpc_activate_IRQ_rcvd_lock
	.comm	_xpc_activate_IRQ_rcvd,4,2      ## @xpc_activate_IRQ_rcvd
	.comm	_XPC_P_ASR_DEACTIVATE_UV,8,3    ## @XPC_P_ASR_DEACTIVATE_UV
	.comm	_xpBadChannelNumber,4,2         ## @xpBadChannelNumber
	.comm	_xpc_activate_IRQ_wq,4,2        ## @xpc_activate_IRQ_wq
	.comm	_XPC_C_CONNECTED,4,2            ## @XPC_C_CONNECTED
	.comm	_XPC_C_CONNECTEDCALLOUT_MADE,4,2 ## @XPC_C_CONNECTEDCALLOUT_MADE
	.no_dead_strip	_xpc_handle_notify_mq_msg_uv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_handle_notify_mq_msg_uv
_xpc_handle_notify_mq_msg_uv:           ; @xpc_handle_notify_mq_msg_uv
	.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
	ldrsw	x20, [x1]
	ldr	w8, [x0]
	cmp	w20, w8
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _xpc_part@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xpc_part@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_XPC_PARTID
	mov	x3, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_dev_err
Lloh5:
	adrp	x0, _xpc_activate_IRQ_rcvd_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _xpc_activate_IRQ_rcvd_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _xpc_activate_IRQ_rcvd@GOTPAGE
Lloh8:
	ldr	x8, [x8, _xpc_activate_IRQ_rcvd@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_3:
Lloh9:
	adrp	x8, _XPC_P_ASR_DEACTIVATE_UV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XPC_P_ASR_DEACTIVATE_UV@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19, #16]
Lloh12:
	adrp	x8, _xpBadChannelNumber@GOTPAGE
Lloh13:
	ldr	x8, [x8, _xpBadChannelNumber@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh15:
	adrp	x0, _xpc_activate_IRQ_rcvd_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _xpc_activate_IRQ_rcvd_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
Lloh17:
	adrp	x0, _xpc_activate_IRQ_wq@GOTPAGE
Lloh18:
	ldr	x0, [x0, _xpc_activate_IRQ_wq@GOTPAGEOFF]
	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	_wake_up_interruptible
LBB0_4:
	ldr	x25, [x19, #8]
	mov	w8, #40
	madd	x21, x20, x8, x25
	mov	x0, x21
	bl	_xpc_msgqueue_ref
	ldr	w8, [x21]
Lloh19:
	adrp	x9, _XPC_C_CONNECTED@GOTPAGE
Lloh20:
	ldr	x9, [x9, _XPC_C_CONNECTED@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.5:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_9
; %bb.6:
	mov	w8, #40
	madd	x8, x20, x8, x25
	add	x23, x8, #24
	ldr	x9, [x8, #32]
	ldr	w10, [x22, #16]
	ldp	w11, w8, [x8, #4]
	sdiv	w12, w10, w11
	msub	w10, w12, w11, w10
	mul	w8, w8, w10
	mov	w10, #24
	smaddl	x24, w8, w10, x9
	ldr	x8, [x24, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUG_ON
	ldr	x2, [x22, #8]
	mov	x0, x24
	mov	x1, x22
	bl	_memcpy
	add	x1, x24, #20
	mov	x0, x23
	bl	_xpc_put_fifo_entry_uv
	ldr	w8, [x21]
Lloh22:
	adrp	x9, _XPC_C_CONNECTEDCALLOUT_MADE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _XPC_C_CONNECTEDCALLOUT_MADE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.7:
	mov	w8, #40
	madd	x8, x20, x8, x25
	add	x0, x8, #20
	bl	_atomic_read
	mov	w8, #40
	madd	x8, x20, x8, x25
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.8:
	add	x0, x8, #16
	mov	w1, #1
	bl	_wake_up_nr
	b	LBB0_11
LBB0_9:
	mov	x0, x21
	mov	x1, x22
	bl	_xpc_handle_notify_mq_ack_uv
	b	LBB0_11
LBB0_10:
	ldr	w1, [x8, #12]
	mov	x0, x19
	bl	_xpc_send_chctl_local_msgrequest_uv
LBB0_11:
	mov	x0, x21
	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_msgqueue_deref
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_xpc_part,4,2                   ; @xpc_part
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xpc_handle_notify_IRQ_uv() received invalid channel number=0x%x in message from partid=%d\n"

	.comm	_xpc_activate_IRQ_rcvd_lock,4,2 ; @xpc_activate_IRQ_rcvd_lock
	.comm	_xpc_activate_IRQ_rcvd,4,2      ; @xpc_activate_IRQ_rcvd
	.comm	_XPC_P_ASR_DEACTIVATE_UV,8,3    ; @XPC_P_ASR_DEACTIVATE_UV
	.comm	_xpBadChannelNumber,4,2         ; @xpBadChannelNumber
	.comm	_xpc_activate_IRQ_wq,4,2        ; @xpc_activate_IRQ_wq
	.comm	_XPC_C_CONNECTED,4,2            ; @XPC_C_CONNECTED
	.comm	_XPC_C_CONNECTEDCALLOUT_MADE,4,2 ; @XPC_C_CONNECTEDCALLOUT_MADE
	.no_dead_strip	_xpc_handle_notify_mq_msg_uv
.subsections_via_symbols
