	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yrmcds_shutdown                ## -- Begin function yrmcds_shutdown
	.p2align	4, 0x90
_yrmcds_shutdown:                       ## @yrmcds_shutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %edi
	movq	_SHUT_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_shutdown
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.4:
	movq	_YRMCDS_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_YRMCDS_BAD_ARGUMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_YRMCDS_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YRMCDS_BAD_ARGUMENT,4,2        ## @YRMCDS_BAD_ARGUMENT
	.comm	_SHUT_RD,4,2                    ## @SHUT_RD
	.comm	_YRMCDS_SYSTEM_ERROR,4,2        ## @YRMCDS_SYSTEM_ERROR
	.comm	_YRMCDS_OK,4,2                  ## @YRMCDS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yrmcds_shutdown                ; -- Begin function yrmcds_shutdown
	.p2align	2
_yrmcds_shutdown:                       ; @yrmcds_shutdown
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _SHUT_RD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHUT_RD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_shutdown
Lloh3:
	adrp	x8, _YRMCDS_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _YRMCDS_OK@GOTPAGEOFF]
Lloh5:
	adrp	x9, _YRMCDS_SYSTEM_ERROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _YRMCDS_SYSTEM_ERROR@GOTPAGEOFF]
	cmn	w0, #1
	csel	x8, x9, x8, eq
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _YRMCDS_BAD_ARGUMENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _YRMCDS_BAD_ARGUMENT@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_YRMCDS_BAD_ARGUMENT,4,2        ; @YRMCDS_BAD_ARGUMENT
	.comm	_SHUT_RD,4,2                    ; @SHUT_RD
	.comm	_YRMCDS_SYSTEM_ERROR,4,2        ; @YRMCDS_SYSTEM_ERROR
	.comm	_YRMCDS_OK,4,2                  ; @YRMCDS_OK
.subsections_via_symbols
