	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_set_keepalive
_rs_set_keepalive:                      ## @rs_set_keepalive
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_RS_OPT_SVC_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	testl	%esi, %esi
	je	LBB0_7
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:
	movq	_RS_SVC_ADD_KEEPALIVE@GOTPCREL(%rip), %r12
	cmpl	$0, 4(%rbx)
	jne	LBB0_10
## %bb.3:
	leaq	4(%rbx), %r14
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	movq	%r14, %rdx
	callq	_fscanf
	cmpl	$1, %eax
	je	LBB0_6
## %bb.5:
	movl	$7200, (%r14)                   ## imm = 0x1C20
LBB0_6:
	movq	%r15, %rdi
	callq	_fclose
	jmp	LBB0_10
LBB0_7:
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movq	_RS_SVC_REM_KEEPALIVE@GOTPCREL(%rip), %r12
LBB0_10:
	movl	(%r12), %edx
	movq	_tcp_svc@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rs_notify_svc                  ## TAILCALL
LBB0_11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	$7200, (%r14)                   ## imm = 0x1C20
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_RS_OPT_SVC_ACTIVE,4,2          ## @RS_OPT_SVC_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/proc/sys/net/ipv4/tcp_keepalive_time"

L_.str.1:                               ## @.str.1
	.asciz	"r"

L_.str.2:                               ## @.str.2
	.asciz	"%u"

	.comm	_tcp_svc,4,2                    ## @tcp_svc
	.comm	_RS_SVC_ADD_KEEPALIVE,4,2       ## @RS_SVC_ADD_KEEPALIVE
	.comm	_RS_SVC_REM_KEEPALIVE,4,2       ## @RS_SVC_REM_KEEPALIVE
	.no_dead_strip	_rs_set_keepalive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_set_keepalive
_rs_set_keepalive:                      ; @rs_set_keepalive
	.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	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RS_OPT_SVC_ACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RS_OPT_SVC_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	w1, LBB0_7
; %bb.1:
	cbnz	w8, LBB0_9
; %bb.2:
	mov	x20, x19
	ldr	w8, [x20, #4]!
	cbnz	w8, LBB0_11
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_10
; %bb.4:
	mov	x21, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_fscanf
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.5:
	mov	w8, #7200
	str	w8, [x20]
LBB0_6:
	mov	x0, x21
	bl	_fclose
	b	LBB0_11
LBB0_7:
	cbz	w8, LBB0_9
; %bb.8:
Lloh9:
	adrp	x8, _RS_SVC_REM_KEEPALIVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RS_SVC_REM_KEEPALIVE@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	mov	w0, #0
	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
LBB0_10:
	mov	w8, #7200
	str	w8, [x20]
LBB0_11:
Lloh11:
	adrp	x8, _RS_SVC_ADD_KEEPALIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RS_SVC_ADD_KEEPALIVE@GOTPAGEOFF]
LBB0_12:
	ldr	w2, [x8]
Lloh13:
	adrp	x0, _tcp_svc@GOTPAGE
Lloh14:
	ldr	x0, [x0, _tcp_svc@GOTPAGEOFF]
	mov	x1, 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	_rs_notify_svc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RS_OPT_SVC_ACTIVE,4,2          ; @RS_OPT_SVC_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/sys/net/ipv4/tcp_keepalive_time"

l_.str.1:                               ; @.str.1
	.asciz	"r"

l_.str.2:                               ; @.str.2
	.asciz	"%u"

	.comm	_tcp_svc,4,2                    ; @tcp_svc
	.comm	_RS_SVC_ADD_KEEPALIVE,4,2       ; @RS_SVC_ADD_KEEPALIVE
	.comm	_RS_SVC_REM_KEEPALIVE,4,2       ; @RS_SVC_REM_KEEPALIVE
	.no_dead_strip	_rs_set_keepalive
.subsections_via_symbols
