	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yrmcds_set_timeout             ## -- Begin function yrmcds_set_timeout
	.p2align	4, 0x90
_yrmcds_set_timeout:                    ## @yrmcds_set_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testl	%esi, %esi
	js	LBB0_2
## %bb.3:
	movq	%rdi, %rbx
	movl	%esi, -32(%rbp)
	movq	$0, -24(%rbp)
	movl	(%rdi), %edi
	movq	_SOL_SOCKET@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_SO_RCVTIMEO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movl	$16, %r8d
	callq	_setsockopt
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.4:
	movl	(%rbx), %edi
	movl	(%r14), %esi
	movq	_SO_SNDTIMEO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movl	$16, %r8d
	callq	_setsockopt
	cmpl	$-1, %eax
	jne	LBB0_5
LBB0_6:
	movq	_YRMCDS_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_YRMCDS_BAD_ARGUMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_YRMCDS_OK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YRMCDS_BAD_ARGUMENT,4,2        ## @YRMCDS_BAD_ARGUMENT
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_RCVTIMEO,4,2                ## @SO_RCVTIMEO
	.comm	_YRMCDS_SYSTEM_ERROR,4,2        ## @YRMCDS_SYSTEM_ERROR
	.comm	_SO_SNDTIMEO,4,2                ## @SO_SNDTIMEO
	.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_set_timeout             ; -- Begin function yrmcds_set_timeout
	.p2align	2
_yrmcds_set_timeout:                    ; @yrmcds_set_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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_5
; %bb.1:
	tbnz	w1, #31, LBB0_5
; %bb.2:
	mov	x19, x0
	str	w1, [sp]
	str	xzr, [sp, #8]
	ldr	w0, [x0]
Lloh0:
	adrp	x21, _SOL_SOCKET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SOL_SOCKET@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _SO_RCVTIMEO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SO_RCVTIMEO@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x3, sp
	mov	w4, #16
	bl	_setsockopt
Lloh5:
	adrp	x20, _YRMCDS_SYSTEM_ERROR@GOTPAGE
Lloh6:
	ldr	x20, [x20, _YRMCDS_SYSTEM_ERROR@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh7:
	adrp	x8, _SO_SNDTIMEO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SO_SNDTIMEO@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x3, sp
	mov	w4, #16
	bl	_setsockopt
Lloh10:
	adrp	x8, _YRMCDS_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _YRMCDS_OK@GOTPAGEOFF]
	cmn	w0, #1
	csel	x20, x20, x8, eq
LBB0_4:
	ldr	w0, [x20]
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _YRMCDS_BAD_ARGUMENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _YRMCDS_BAD_ARGUMENT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_YRMCDS_BAD_ARGUMENT,4,2        ; @YRMCDS_BAD_ARGUMENT
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_RCVTIMEO,4,2                ; @SO_RCVTIMEO
	.comm	_YRMCDS_SYSTEM_ERROR,4,2        ; @YRMCDS_SYSTEM_ERROR
	.comm	_SO_SNDTIMEO,4,2                ; @SO_SNDTIMEO
	.comm	_YRMCDS_OK,4,2                  ; @YRMCDS_OK
.subsections_via_symbols
