	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_send_gru_msg
_xpc_send_gru_msg:                      ## @xpc_send_gru_msg
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_gru_send_message_gpa
	movq	_MQE_OK@GOTPCREL(%rip), %r12
	movq	_xpSuccess@GOTPCREL(%rip), %rcx
	cmpl	(%r12), %eax
	je	LBB0_8
## %bb.1:
	movq	_xpc_chan@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movl	$10, %edi
	callq	_msleep_interruptible
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_gru_send_message_gpa
	cmpl	(%r12), %eax
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MQE_QUEUE_FULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	_MQE_CONGESTION@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	jmp	LBB0_6
LBB0_7:
	movq	_xpSuccess@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	_xpGruSendMqError@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MQE_OK,4,2                     ## @MQE_OK
	.comm	_xpSuccess,4,2                  ## @xpSuccess
	.comm	_MQE_QUEUE_FULL,4,2             ## @MQE_QUEUE_FULL
	.comm	_xpc_chan,4,2                   ## @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gru_send_message_gpa() returned error=MQE_QUEUE_FULL\n"

	.comm	_MQE_CONGESTION,4,2             ## @MQE_CONGESTION
L_.str.1:                               ## @.str.1
	.asciz	"gru_send_message_gpa() returned error=MQE_CONGESTION\n"

L_.str.2:                               ## @.str.2
	.asciz	"gru_send_message_gpa() returned error=%d\n"

	.comm	_xpGruSendMqError,4,2           ## @xpGruSendMqError
	.no_dead_strip	_xpc_send_gru_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_send_gru_msg
_xpc_send_gru_msg:                      ; @xpc_send_gru_msg
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_gru_send_message_gpa
Lloh0:
	adrp	x25, _MQE_OK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MQE_OK@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x24, _xpSuccess@GOTPAGE
Lloh3:
	ldr	x24, [x24, _xpSuccess@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	mov	x2, x0
Lloh4:
	adrp	x26, _MQE_QUEUE_FULL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _MQE_QUEUE_FULL@GOTPAGEOFF]
Lloh6:
	adrp	x27, _xpc_chan@GOTPAGE
Lloh7:
	ldr	x27, [x27, _xpc_chan@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
Lloh10:
	adrp	x24, _xpSuccess@GOTPAGE
Lloh11:
	ldr	x24, [x24, _xpSuccess@GOTPAGEOFF]
Lloh12:
	adrp	x28, _MQE_CONGESTION@GOTPAGE
Lloh13:
	ldr	x28, [x28, _MQE_CONGESTION@GOTPAGEOFF]
Lloh14:
	adrp	x23, l_.str.1@PAGE
Lloh15:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
	mov	x1, x22
	bl	_dev_dbg
	mov	w0, #10
	bl	_msleep_interruptible
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_gru_send_message_gpa
	mov	x2, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x26]
	cmp	w2, w8
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x28]
	ldr	w0, [x27]
	cmp	w2, w8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x23
	bl	_dev_dbg
	b	LBB0_4
LBB0_8:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh18:
	adrp	x24, _xpGruSendMqError@GOTPAGE
Lloh19:
	ldr	x24, [x24, _xpGruSendMqError@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x24]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MQE_OK,4,2                     ; @MQE_OK
	.comm	_xpSuccess,4,2                  ; @xpSuccess
	.comm	_MQE_QUEUE_FULL,4,2             ; @MQE_QUEUE_FULL
	.comm	_xpc_chan,4,2                   ; @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gru_send_message_gpa() returned error=MQE_QUEUE_FULL\n"

	.comm	_MQE_CONGESTION,4,2             ; @MQE_CONGESTION
l_.str.1:                               ; @.str.1
	.asciz	"gru_send_message_gpa() returned error=MQE_CONGESTION\n"

l_.str.2:                               ; @.str.2
	.asciz	"gru_send_message_gpa() returned error=%d\n"

	.comm	_xpGruSendMqError,4,2           ; @xpGruSendMqError
	.no_dead_strip	_xpc_send_gru_msg
.subsections_via_symbols
