	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_options
_set_options:                           ## @set_options
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_buffer_size@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_SOL_SOCKET@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_SO_SNDBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_buffer_size@GOTPCREL(%rip), %r14
	movl	%ebx, %edi
	movq	%r14, %rcx
	movl	$8, %r8d
	callq	_rs_setsockopt
	movl	(%r15), %esi
	movq	_SO_RCVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r14, %rcx
	movl	$8, %r8d
	jmp	LBB0_3
LBB0_2:
	movl	$524288, -28(%rbp)              ## imm = 0x80000
	movq	_SOL_SOCKET@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_SO_SNDBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %r14
	movl	%ebx, %edi
	movq	%r14, %rcx
	movl	$4, %r8d
	callq	_rs_setsockopt
	movl	(%r15), %esi
	movq	_SO_RCVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r14, %rcx
	movl	$4, %r8d
LBB0_3:
	callq	_rs_setsockopt
	movq	_flags@GOTPCREL(%rip), %rax
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_rs_fcntl
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buffer_size,8,3                ## @buffer_size
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_SNDBUF,4,2                  ## @SO_SNDBUF
	.comm	_SO_RCVBUF,4,2                  ## @SO_RCVBUF
	.comm	_flags,4,2                      ## @flags
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.no_dead_strip	_set_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_options
_set_options:                           ; @set_options
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _buffer_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _buffer_size@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x21, _SOL_SOCKET@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SOL_SOCKET@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _SO_SNDBUF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SO_SNDBUF@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x20, _buffer_size@GOTPAGE
Lloh9:
	ldr	x20, [x20, _buffer_size@GOTPAGEOFF]
	mov	x0, x19
	mov	x3, x20
	mov	w4, #8
	bl	_rs_setsockopt
	ldr	w1, [x21]
Lloh10:
	adrp	x8, _SO_RCVBUF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SO_RCVBUF@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	mov	w4, #8
	b	LBB0_3
LBB0_2:
	mov	w8, #524288
	str	w8, [sp, #12]
Lloh13:
	adrp	x20, _SOL_SOCKET@GOTPAGE
Lloh14:
	ldr	x20, [x20, _SOL_SOCKET@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh15:
	adrp	x8, _SO_SNDBUF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SO_SNDBUF@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	mov	w4, #4
	bl	_rs_setsockopt
	ldr	w1, [x20]
Lloh18:
	adrp	x8, _SO_RCVBUF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SO_RCVBUF@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	mov	w4, #4
LBB0_3:
	bl	_rs_setsockopt
Lloh21:
	adrp	x8, _flags@GOTPAGE
Lloh22:
	ldr	x8, [x8, _flags@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _MSG_DONTWAIT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh27:
	adrp	x8, _F_SETFL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _F_SETFL@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _O_NONBLOCK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _O_NONBLOCK@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rs_fcntl
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_buffer_size,8,3                ; @buffer_size
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_SNDBUF,4,2                  ; @SO_SNDBUF
	.comm	_SO_RCVBUF,4,2                  ; @SO_RCVBUF
	.comm	_flags,4,2                      ; @flags
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.no_dead_strip	_set_options
.subsections_via_symbols
