	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_set_keepalive              ## -- Begin function tcp_set_keepalive
	.p2align	4, 0x90
_tcp_set_keepalive:                     ## @tcp_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_TCPF_CLOSE@GOTPCREL(%rip), %rax
	movq	_TCPF_LISTEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%rdi), %eax
	btl	%eax, %ecx
	jae	LBB0_1
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_4
## %bb.2:
	movq	_SOCK_KEEPOPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_tcp_sk
	movl	%eax, %edi
	callq	_keepalive_time_when
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_inet_csk_reset_keepalive_timer ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_inet_csk_delete_keepalive_timer ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPF_CLOSE,4,2                 ## @TCPF_CLOSE
	.comm	_TCPF_LISTEN,4,2                ## @TCPF_LISTEN
	.comm	_SOCK_KEEPOPEN,4,2              ## @SOCK_KEEPOPEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_set_keepalive              ; -- Begin function tcp_set_keepalive
	.p2align	2
_tcp_set_keepalive:                     ; @tcp_set_keepalive
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TCPF_CLOSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCPF_CLOSE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _TCPF_LISTEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TCPF_LISTEN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	cbz	w1, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _SOCK_KEEPOPEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOCK_KEEPOPEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbnz	w0, LBB0_1
; %bb.4:
	mov	x0, x19
	bl	_tcp_sk
	bl	_keepalive_time_when
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_inet_csk_reset_keepalive_timer
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_inet_csk_delete_keepalive_timer
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPF_CLOSE,4,2                 ; @TCPF_CLOSE
	.comm	_TCPF_LISTEN,4,2                ; @TCPF_LISTEN
	.comm	_SOCK_KEEPOPEN,4,2              ; @SOCK_KEEPOPEN
.subsections_via_symbols
