	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function customize_fd
_customize_fd:                          ## @customize_fd
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_RCVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movq	%rbx, %rcx
	movl	$8, %r8d
	callq	_setsockopt
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ff_log_net_error
LBB0_3:
	cmpq	$0, 8(%rbx)
	jle	LBB0_6
## %bb.4:
	leaq	8(%rbx), %rcx
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_SNDBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$8, %r8d
	callq	_setsockopt
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ff_log_net_error
LBB0_6:
	cmpq	$0, 16(%rbx)
	jle	LBB0_9
## %bb.7:
	leaq	16(%rbx), %rcx
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TCP_NODELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$8, %r8d
	callq	_setsockopt
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ff_log_net_error
LBB0_9:
	cmpq	$0, 24(%rbx)
	jle	LBB0_11
## %bb.10:
	leaq	24(%rbx), %rcx
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TCP_MAXSEG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$8, %r8d
	callq	_setsockopt
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ff_log_net_error               ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_RCVBUF,4,2                  ## @SO_RCVBUF
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setsockopt(SO_RCVBUF)"

	.comm	_SO_SNDBUF,4,2                  ## @SO_SNDBUF
L_.str.1:                               ## @.str.1
	.asciz	"setsockopt(SO_SNDBUF)"

	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_TCP_NODELAY,4,2                ## @TCP_NODELAY
L_.str.2:                               ## @.str.2
	.asciz	"setsockopt(TCP_NODELAY)"

	.comm	_TCP_MAXSEG,4,2                 ## @TCP_MAXSEG
L_.str.3:                               ## @.str.3
	.asciz	"setsockopt(TCP_MAXSEG)"

	.no_dead_strip	_customize_fd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function customize_fd
_customize_fd:                          ; @customize_fd
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _SOL_SOCKET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SOL_SOCKET@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _SO_RCVBUF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SO_RCVBUF@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	mov	w4, #8
	bl	_setsockopt
	cbz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ff_log_net_error
LBB0_3:
	mov	x3, x19
	ldr	x8, [x3, #8]!
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.4:
	ldr	w1, [x21]
Lloh10:
	adrp	x8, _SO_SNDBUF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SO_SNDBUF@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w4, #8
	bl	_setsockopt
	cbz	x0, LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ff_log_net_error
LBB0_6:
	mov	x3, x19
	ldr	x8, [x3, #16]!
Lloh18:
	adrp	x21, _IPPROTO_TCP@GOTPAGE
Lloh19:
	ldr	x21, [x21, _IPPROTO_TCP@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.7:
	ldr	w1, [x21]
Lloh20:
	adrp	x8, _TCP_NODELAY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TCP_NODELAY@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w4, #8
	bl	_setsockopt
	cbz	x0, LBB0_9
; %bb.8:
Lloh23:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x2, l_.str.2@PAGE
Lloh27:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ff_log_net_error
LBB0_9:
	mov	x3, x19
	ldr	x8, [x3, #24]!
	cmp	x8, #1
	b.lt	LBB0_12
; %bb.10:
	ldr	w1, [x21]
Lloh28:
	adrp	x8, _TCP_MAXSEG@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TCP_MAXSEG@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w4, #8
	bl	_setsockopt
	cbz	x0, LBB0_12
; %bb.11:
Lloh31:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x2, l_.str.3@PAGE
Lloh35:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	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	_ff_log_net_error
LBB0_12:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_RCVBUF,4,2                  ; @SO_RCVBUF
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setsockopt(SO_RCVBUF)"

	.comm	_SO_SNDBUF,4,2                  ; @SO_SNDBUF
l_.str.1:                               ; @.str.1
	.asciz	"setsockopt(SO_SNDBUF)"

	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_TCP_NODELAY,4,2                ; @TCP_NODELAY
l_.str.2:                               ; @.str.2
	.asciz	"setsockopt(TCP_NODELAY)"

	.comm	_TCP_MAXSEG,4,2                 ; @TCP_MAXSEG
l_.str.3:                               ; @.str.3
	.asciz	"setsockopt(TCP_MAXSEG)"

	.no_dead_strip	_customize_fd
.subsections_via_symbols
