	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_set_nonblocking
_rs_set_nonblocking:                    ## @rs_set_nonblocking
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	32(%r15), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%rax), %edi
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_fcntl
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
LBB0_3:
	movq	8(%r15), %rax
	movq	_rs_connected@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	jge	LBB0_10
## %bb.4:
	movq	32(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fcntl                          ## TAILCALL
LBB0_5:
	movl	24(%r15), %edi
	movq	_F_SETFL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%r14d, %edx
	callq	_fcntl
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_6
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	movl	%r14d, %edx
	callq	_fcntl
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_ds_next_qp
	cmpq	16(%r15), %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rbx
	testl	%r12d, %r12d
	je	LBB0_8
	jmp	LBB0_10
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.comm	_rs_connected,8,3               ## @rs_connected
	.no_dead_strip	_rs_set_nonblocking
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_set_nonblocking
_rs_set_nonblocking:                    ; @rs_set_nonblocking
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _F_SETFL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F_SETFL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_fcntl
	mov	x21, x0
	cbnz	w0, LBB0_9
LBB0_3:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _rs_connected@GOTPAGE
Lloh7:
	ldr	x9, [x9, _rs_connected@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_8
; %bb.4:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _F_SETFL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _F_SETFL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fcntl
LBB0_5:
	ldr	w0, [x20, #24]
Lloh12:
	adrp	x23, _F_SETFL@GOTPAGE
Lloh13:
	ldr	x23, [x23, _F_SETFL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x2, x19
	bl	_fcntl
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.6:
	ldr	x22, [x20, #16]
	cbz	x22, LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w1, [x23]
	mov	x2, x19
	bl	_fcntl
	mov	x21, x0
	mov	x0, x22
	bl	_ds_next_qp
	mov	x22, x0
	ldr	x8, [x20, #16]
	cmp	x0, x8
	ccmp	w21, #0, #0, ne
	b.eq	LBB0_7
	b	LBB0_9
LBB0_8:
	mov	w21, #0
LBB0_9:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.comm	_rs_connected,8,3               ; @rs_connected
	.no_dead_strip	_rs_set_nonblocking
.subsections_via_symbols
