	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_global_seterror
_rpc_global_seterror:                   ## @rpc_global_seterror
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_global_error@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	1(%rax), %rsi
	movq	%rbx, %rdi
	callq	_zzfree
LBB0_3:
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, (%r12)
	movq	%r15, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_ADD_MALLOC
	movq	_global_errnum@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_error_verbosity@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jle	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_printf
	cmpl	$2, (%rbx)
	jl	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_backtrace                ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_global_error,8,3               ## @global_error
	.comm	_global_errnum,4,2              ## @global_errnum
	.comm	_error_verbosity,4,2            ## @error_verbosity
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error %s (error_code %d)\n"

	.no_dead_strip	_rpc_global_seterror
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_global_seterror
_rpc_global_seterror:                   ; @rpc_global_seterror
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _global_error@GOTPAGE
Lloh1:
	ldr	x22, [x22, _global_error@GOTPAGEOFF]
	ldr	x21, [x22]
	cbz	x21, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_strlen
	add	x1, x0, #1
	mov	x0, x21
	bl	_zzfree
LBB0_3:
	mov	x0, x20
	bl	_strdup
	str	x0, [x22]
	mov	x0, x20
	bl	_strlen
	add	x0, x0, #1
	bl	_ADD_MALLOC
Lloh2:
	adrp	x8, _global_errnum@GOTPAGE
Lloh3:
	ldr	x8, [x8, _global_errnum@GOTPAGEOFF]
Lloh4:
	str	w19, [x8]
Lloh5:
	adrp	x21, _error_verbosity@GOTPAGE
Lloh6:
	ldr	x21, [x21, _error_verbosity@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_printf
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_print_backtrace
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_global_error,8,3               ; @global_error
	.comm	_global_errnum,4,2              ; @global_errnum
	.comm	_error_verbosity,4,2            ; @error_verbosity
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error %s (error_code %d)\n"

	.no_dead_strip	_rpc_global_seterror
.subsections_via_symbols
