	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gru_get_cb_exception_detail_str
_gru_get_cb_exception_detail_str:       ## @gru_get_cb_exception_detail_str
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	testl	%edi, %edi
	jle	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_CBS_EXCEPTION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_gru_get_cb_exception_detail
	xorl	%eax, %eax
	callq	_smp_processor_id
	movl	-64(%rbp), %r9d
	movl	-60(%rbp), %r10d
	movl	-56(%rbp), %r11d
	movl	-48(%rbp), %r12d
	movl	-52(%rbp), %r13d
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	movq	%rbx, %r8
	xorl	%eax, %eax
	pushq	%r13
	pushq	%r12
	pushq	%r11
	pushq	%r10
	callq	_snprintf
	addq	$32, %rsp
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_4:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CBS_EXCEPTION,8,3              ## @CBS_EXCEPTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GRU:%d exception: cb %p, opc %d, exopc %d, ecause 0x%x,excdet0 0x%lx, excdet1 0x%x"

L_.str.1:                               ## @.str.1
	.asciz	"No exception"

	.no_dead_strip	_gru_get_cb_exception_detail_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gru_get_cb_exception_detail_str
_gru_get_cb_exception_detail_str:       ; @gru_get_cb_exception_detail_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x3
	mov	x19, x2
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _CBS_EXCEPTION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CBS_EXCEPTION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	add	x1, sp, #56
	mov	x0, x21
	bl	_gru_get_cb_exception_detail
	bl	_smp_processor_id
                                        ; kill: def $w0 killed $w0 def $x0
	ldp	w8, w9, [sp, #56]
	ldp	w12, w10, [sp, #68]
	ldr	w11, [sp, #64]
	stp	x10, x12, [sp, #40]
	stp	x9, x11, [sp, #24]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	stp	x21, x8, [sp, #8]
	str	x0, [sp]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CBS_EXCEPTION,8,3              ; @CBS_EXCEPTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GRU:%d exception: cb %p, opc %d, exopc %d, ecause 0x%x,excdet0 0x%lx, excdet1 0x%x"

l_.str.1:                               ; @.str.1
	.asciz	"No exception"

	.no_dead_strip	_gru_get_cb_exception_detail_str
.subsections_via_symbols
